diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-02-22 19:57:06 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-02-22 19:57:06 +0000 |
commit | a1977d32f04c60d2f415b6bc197dbd48ae519696 (patch) | |
tree | c1c2b60209bef05c0eab61e095f18ddee46e76b8 /llvm/lib/CodeGen | |
parent | faafcfd3ce86c25b0716e5463132528726c4e681 (diff) | |
download | bcm5719-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.cpp | 2 |
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 } } |