[llvm] r323702 - LiveInterval: Print weight in print() function.

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 29 14:03:00 PST 2018


Author: matze
Date: Mon Jan 29 14:03:00 2018
New Revision: 323702

URL: http://llvm.org/viewvc/llvm-project?rev=323702&view=rev
Log:
LiveInterval: Print weight in print() function.

Modified:
    llvm/trunk/lib/CodeGen/LiveInterval.cpp

Modified: llvm/trunk/lib/CodeGen/LiveInterval.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveInterval.cpp?rev=323702&r1=323701&r2=323702&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LiveInterval.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveInterval.cpp Mon Jan 29 14:03:00 2018
@@ -991,6 +991,7 @@ void LiveInterval::print(raw_ostream &OS
   // Print subranges
   for (const SubRange &SR : subranges())
     OS << SR;
+  OS << " weight:" << weight;
 }
 
 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)




More information about the llvm-commits mailing list