[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Jul 24 20:24:21 PDT 2004
Changes in directory llvm/lib/CodeGen:
LiveIntervalAnalysis.cpp updated: 1.111 -> 1.112
---
Log message:
Add debugging output for joining assignments
---
Diffs of the changes: (+5 -0)
Index: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff -u llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.111 llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.112
--- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.111 Sat Jul 24 06:44:15 2004
+++ llvm/lib/CodeGen/LiveIntervalAnalysis.cpp Sat Jul 24 22:24:11 2004
@@ -616,6 +616,11 @@
for (unsigned i = 0, e = MBBs.size(); i != e; ++i)
joinIntervalsInMachineBB(MBBs[i].second);
}
+
+ DEBUG(std::cerr << "*** Register mapping ***\n");
+ DEBUG(for (std::map<unsigned, unsigned>::iterator I = r2rMap_.begin(),
+ E = r2rMap_.end(); I != E; ++I)
+ std::cerr << " reg " << I->first << " -> reg " << I->second << "\n";);
}
/// Return true if the two specified registers belong to different register
More information about the llvm-commits
mailing list