Change errs() to dbgs().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92566 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Greene 2010-01-05 01:24:24 +00:00
parent eb00b18338
commit f788297942

View File

@ -207,7 +207,7 @@ void llvm::PHIElimination::LowerAtomicPHINode(
IncomingReg = entry; IncomingReg = entry;
reusedIncoming = true; reusedIncoming = true;
++NumReused; ++NumReused;
DEBUG(errs() << "Reusing %reg" << IncomingReg << " for " << *MPhi); DEBUG(dbgs() << "Reusing %reg" << IncomingReg << " for " << *MPhi);
} else { } else {
entry = IncomingReg = MF.getRegInfo().createVirtualRegister(RC); entry = IncomingReg = MF.getRegInfo().createVirtualRegister(RC);
} }
@ -234,7 +234,7 @@ void llvm::PHIElimination::LowerAtomicPHINode(
// AfterPHIsIt, so it appears before the current PHICopy. // AfterPHIsIt, so it appears before the current PHICopy.
if (reusedIncoming) if (reusedIncoming)
if (MachineInstr *OldKill = VI.findKill(&MBB)) { if (MachineInstr *OldKill = VI.findKill(&MBB)) {
DEBUG(errs() << "Remove old kill from " << *OldKill); DEBUG(dbgs() << "Remove old kill from " << *OldKill);
LV->removeVirtualRegisterKilled(IncomingReg, OldKill); LV->removeVirtualRegisterKilled(IncomingReg, OldKill);
DEBUG(MBB.dump()); DEBUG(MBB.dump());
} }
@ -421,7 +421,7 @@ MachineBasicBlock *PHIElimination::SplitCriticalEdge(MachineBasicBlock *A,
MachineBasicBlock *NMBB = MF->CreateMachineBasicBlock(); MachineBasicBlock *NMBB = MF->CreateMachineBasicBlock();
MF->insert(llvm::next(MachineFunction::iterator(A)), NMBB); MF->insert(llvm::next(MachineFunction::iterator(A)), NMBB);
DEBUG(errs() << "PHIElimination splitting critical edge:" DEBUG(dbgs() << "PHIElimination splitting critical edge:"
" BB#" << A->getNumber() " BB#" << A->getNumber()
<< " -- BB#" << NMBB->getNumber() << " -- BB#" << NMBB->getNumber()
<< " -- BB#" << B->getNumber() << '\n'); << " -- BB#" << B->getNumber() << '\n');