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 | 9af7090392efa7bf1b7eae274b9231518af8303b (patch) | |
tree | 69aa49627f12b4ce1b0282d848dffe7f585011b8 /lib/CodeGen/RegAllocLocal.cpp | |
parent | bd41a064ed183892038932d72577a6e8bfea103b (diff) |
Add debugging printfs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47496 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLocal.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocLocal.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAllocLocal.cpp b/lib/CodeGen/RegAllocLocal.cpp index 765e7ff96f..8f1cce6f4f 100644 --- 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 } } |