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:
3f86193
)
Add debugging output for joining assignments
author
Chris Lattner
<sabre@nondot.org>
Sun, 25 Jul 2004 03:24:11 +0000
(
03:24
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 25 Jul 2004 03:24:11 +0000
(
03:24
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15187
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 c21a9c05401e0699bd511c5e5a6a3a372c179b17..d54eaefb66050b8ccfa9aea5a4b8467929120af6 100644
(file)
--- a/
lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/
lib/CodeGen/LiveIntervalAnalysis.cpp
@@
-616,6
+616,11
@@
void LiveIntervals::joinIntervals() {
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