Add debugging printfs.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 22 Feb 2008 19:57:06 +0000 (19:57 +0000)
committerEvan 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

index 765e7ff96ff7e83a277b9114343ed6c817cef079..8f1cce6f4fb96dcdcd36ef511fa9de1ff3401377 100644 (file)
@@ -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
       }
     }