[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Aug 21 16:04:08 PDT 2006



Changes in directory llvm/lib/CodeGen:

LiveIntervalAnalysis.cpp updated: 1.164 -> 1.165
---
Log message:

Print physreg names symbolically in dumps


---
Diffs of the changes:  (+3 -2)

 LiveIntervalAnalysis.cpp |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


Index: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff -u llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.164 llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.165
--- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.164	Mon Aug 21 17:56:29 2006
+++ llvm/lib/CodeGen/LiveIntervalAnalysis.cpp	Mon Aug 21 18:03:54 2006
@@ -735,8 +735,9 @@
       assert(SrcInt.reg == SrcReg && DestInt.reg == DestReg &&
              "Register mapping is horribly broken!");
 
-      DEBUG(std::cerr << "\t\tInspecting " << SrcInt << " and " << DestInt
-                      << ": ");
+      DEBUG(std::cerr << "\t\tInspecting "; SrcInt.print(std::cerr, mri_);
+            std::cerr << " and "; DestInt.print(std::cerr, mri_);
+            std::cerr << ": ");
 
       // If two intervals contain a single value and are joined by a copy, it
       // does not matter if the intervals overlap, they can always be joined.






More information about the llvm-commits mailing list