summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-02-22 19:57:06 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-02-22 19:57:06 +0000
commita1977d32f04c60d2f415b6bc197dbd48ae519696 (patch)
treec1c2b60209bef05c0eab61e095f18ddee46e76b8 /llvm/lib/CodeGen
parentfaafcfd3ce86c25b0716e5463132528726c4e681 (diff)
downloadbcm5719-llvm-a1977d32f04c60d2f415b6bc197dbd48ae519696.tar.gz
bcm5719-llvm-a1977d32f04c60d2f415b6bc197dbd48ae519696.zip
Add debugging printfs.
llvm-svn: 47496
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/RegAllocLocal.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLocal.cpp b/llvm/lib/CodeGen/RegAllocLocal.cpp
index 765e7ff96ff..8f1cce6f4fb 100644
--- a/llvm/lib/CodeGen/RegAllocLocal.cpp
+++ b/llvm/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
}
}
OpenPOWER on IntegriCloud