[llvm-commits] CVS: llvm/lib/CodeGen/RegAllocLinearScan.cpp
Alkis Evlogimenos
alkis at niobe.cs.uiuc.edu
Fri Feb 20 00:31:01 PST 2004
Changes in directory llvm/lib/CodeGen:
RegAllocLinearScan.cpp updated: 1.52 -> 1.53
---
Log message:
Fix instruction numbering in debug output.
---
Diffs of the changes: (+2 -1)
Index: llvm/lib/CodeGen/RegAllocLinearScan.cpp
diff -u llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.52 llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.53
--- llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.52 Fri Feb 20 00:15:39 2004
+++ llvm/lib/CodeGen/RegAllocLinearScan.cpp Fri Feb 20 00:29:51 2004
@@ -704,7 +704,8 @@
// ignore deleted instructions
while (!li_->getInstructionFromIndex(index)) index += 2;
mi = li_->getInstructionFromIndex(index);
- DEBUG(std::cerr << "\t\t\t\texamining: \t\t\t\t\t" << index << '\t';
+ DEBUG(std::cerr << "\t\t\t\texamining: \t\t\t\t\t"
+ << LiveIntervals::getBaseIndex(index) << '\t';
mi->print(std::cerr, *tm_));
// if it is used in this instruction load it
More information about the llvm-commits
mailing list