[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Jul 27 16:11:37 PDT 2005
Changes in directory llvm/lib/CodeGen:
LiveIntervalAnalysis.cpp updated: 1.142 -> 1.143
---
Log message:
Fix debug info to not print out recently freed memory.
---
Diffs of the changes: (+1 -1)
LiveIntervalAnalysis.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff -u llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.142 llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.143
--- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.142 Wed Jul 27 18:03:38 2005
+++ llvm/lib/CodeGen/LiveIntervalAnalysis.cpp Wed Jul 27 18:11:25 2005
@@ -671,6 +671,7 @@
if ((TriviallyJoinable || IntB.joinable(IntA, MIDefIdx)) &&
!overlapsAliases(&IntA, &IntB)) {
IntB.join(IntA, MIDefIdx);
+ DEBUG(std::cerr << "Joined. Result = " << IntB << "\n");
if (!MRegisterInfo::isPhysicalRegister(regA)) {
r2iMap_.erase(regA);
@@ -683,7 +684,6 @@
IntA.swap(IntB);
r2iMap_.erase(regB);
}
- DEBUG(std::cerr << "Joined. Result = " << IntB << "\n");
++numJoins;
} else {
DEBUG(std::cerr << "Interference!\n");
More information about the llvm-commits
mailing list