projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e7a709
)
Fix debug info to not print out recently freed memory.
author
Chris Lattner
<sabre@nondot.org>
Wed, 27 Jul 2005 23:11:25 +0000
(23:11 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 27 Jul 2005 23:11:25 +0000
(23:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22529
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveIntervalAnalysis.cpp
b/lib/CodeGen/LiveIntervalAnalysis.cpp
index b242a9c6942fd9a99e5745d84b720fd0e2b5c5ae..2050115962a607d7b8ebbb941ac4f65f02d0ff68 100644
(file)
--- a/
lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/
lib/CodeGen/LiveIntervalAnalysis.cpp
@@
-671,6
+671,7
@@
void LiveIntervals::joinIntervalsInMachineBB(MachineBasicBlock *MBB) {
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
@@
void LiveIntervals::joinIntervalsInMachineBB(MachineBasicBlock *MBB) {
IntA.swap(IntB);
r2iMap_.erase(regB);
}
- DEBUG(std::cerr << "Joined. Result = " << IntB << "\n");
++numJoins;
} else {
DEBUG(std::cerr << "Interference!\n");