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:
bd41a06
)
Add debugging printfs.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 22 Feb 2008 19:57:06 +0000
(19:57 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 22 Feb 2008 19:57:06 +0000
(19:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47496
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/RegAllocLocal.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegAllocLocal.cpp
b/lib/CodeGen/RegAllocLocal.cpp
index 765e7ff96ff7e83a277b9114343ed6c817cef079..8f1cce6f4fb96dcdcd36ef511fa9de1ff3401377 100644
(file)
--- a/
lib/CodeGen/RegAllocLocal.cpp
+++ b/
lib/CodeGen/RegAllocLocal.cpp
@@
-728,6
+728,8
@@
void RALocal::AllocateBasicBlock(MachineBasicBlock &MBB) {
MF->getRegInfo().setPhysRegUsed(DestPhysReg);
markVirtRegModified(DestVirtReg);
getVirtRegLastUse(DestVirtReg) = std::make_pair((MachineInstr*)0, 0);
+ DOUT << " Assigning " << TRI->getName(DestPhysReg)
+ << " to %reg" << DestVirtReg << "\n";
MI->getOperand(i).setReg(DestPhysReg); // Assign the output register
}
}