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:
87075ca
)
Adding debug output during coalescing.
author
Bill Wendling
<isanbard@gmail.com>
Thu, 15 Nov 2007 02:06:30 +0000
(
02:06
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 15 Nov 2007 02:06:30 +0000
(
02:06
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44154
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/RegAllocLinearScan.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegAllocLinearScan.cpp
b/lib/CodeGen/RegAllocLinearScan.cpp
index 9f08b1db09f78e35c51dadaf201fc562c59b4951..bc9febff59a94a663564c09834de19608e997ac8 100644
(file)
--- a/
lib/CodeGen/RegAllocLinearScan.cpp
+++ b/
lib/CodeGen/RegAllocLinearScan.cpp
@@
-233,6
+233,7
@@
unsigned RALinScan::attemptTrivialCoalescing(LiveInterval &cur, unsigned Reg) {
// Try to coalesce.
if (!li_->conflictsWithPhysRegDef(cur, *vrm_, SrcReg)) {
+ DOUT << "Coalescing: " << cur << " -> " << mri_->getName(SrcReg) << '\n';
vrm_->clearVirt(cur.reg);
vrm_->assignVirt2Phys(cur.reg, SrcReg);
++NumCoalesce;