From: Evan Cheng Date: Fri, 22 Feb 2008 19:57:06 +0000 (+0000) Subject: Add debugging printfs. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9af7090392efa7bf1b7eae274b9231518af8303b;p=oota-llvm.git Add debugging printfs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47496 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/RegAllocLocal.cpp b/lib/CodeGen/RegAllocLocal.cpp index 765e7ff96ff..8f1cce6f4fb 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 } }