mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 18:06:49 +00:00
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:
parent
eb00b18338
commit
f788297942
@ -207,7 +207,7 @@ void llvm::PHIElimination::LowerAtomicPHINode(
|
||||
IncomingReg = entry;
|
||||
reusedIncoming = true;
|
||||
++NumReused;
|
||||
DEBUG(errs() << "Reusing %reg" << IncomingReg << " for " << *MPhi);
|
||||
DEBUG(dbgs() << "Reusing %reg" << IncomingReg << " for " << *MPhi);
|
||||
} else {
|
||||
entry = IncomingReg = MF.getRegInfo().createVirtualRegister(RC);
|
||||
}
|
||||
@ -234,7 +234,7 @@ void llvm::PHIElimination::LowerAtomicPHINode(
|
||||
// AfterPHIsIt, so it appears before the current PHICopy.
|
||||
if (reusedIncoming)
|
||||
if (MachineInstr *OldKill = VI.findKill(&MBB)) {
|
||||
DEBUG(errs() << "Remove old kill from " << *OldKill);
|
||||
DEBUG(dbgs() << "Remove old kill from " << *OldKill);
|
||||
LV->removeVirtualRegisterKilled(IncomingReg, OldKill);
|
||||
DEBUG(MBB.dump());
|
||||
}
|
||||
@ -421,7 +421,7 @@ MachineBasicBlock *PHIElimination::SplitCriticalEdge(MachineBasicBlock *A,
|
||||
|
||||
MachineBasicBlock *NMBB = MF->CreateMachineBasicBlock();
|
||||
MF->insert(llvm::next(MachineFunction::iterator(A)), NMBB);
|
||||
DEBUG(errs() << "PHIElimination splitting critical edge:"
|
||||
DEBUG(dbgs() << "PHIElimination splitting critical edge:"
|
||||
" BB#" << A->getNumber()
|
||||
<< " -- BB#" << NMBB->getNumber()
|
||||
<< " -- BB#" << B->getNumber() << '\n');
|
||||
|
Loading…
Reference in New Issue
Block a user