diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp index 302c75133e3..87479b2938f 100644 --- a/lib/CodeGen/LiveInterval.cpp +++ b/lib/CodeGen/LiveInterval.cpp @@ -991,6 +991,7 @@ void LiveInterval::print(raw_ostream &OS) const { // Print subranges for (const SubRange &SR : subranges()) OS << SR; + OS << " weight:" << weight; } #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)