1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Change errs() to dbgs().

llvm-svn: 92490
This commit is contained in:
David Greene 2010-01-04 17:47:05 +00:00
parent 3915cf5ef4
commit c6beea09c5

View File

@ -336,14 +336,14 @@ BreakAntiDependencies(std::vector<SUnit>& SUnits,
#ifndef NDEBUG
{
DEBUG(errs() << "Critical path has total latency "
DEBUG(dbgs() << "Critical path has total latency "
<< (Max->getDepth() + Max->Latency) << "\n");
DEBUG(errs() << "Available regs:");
DEBUG(dbgs() << "Available regs:");
for (unsigned Reg = 0; Reg < TRI->getNumRegs(); ++Reg) {
if (KillIndices[Reg] == ~0u)
DEBUG(errs() << " " << TRI->getName(Reg));
DEBUG(dbgs() << " " << TRI->getName(Reg));
}
DEBUG(errs() << '\n');
DEBUG(dbgs() << '\n');
}
#endif
@ -498,7 +498,7 @@ BreakAntiDependencies(std::vector<SUnit>& SUnits,
if (unsigned NewReg = findSuitableFreeRegister(AntiDepReg,
LastNewReg[AntiDepReg],
RC)) {
DEBUG(errs() << "Breaking anti-dependence edge on "
DEBUG(dbgs() << "Breaking anti-dependence edge on "
<< TRI->getName(AntiDepReg)
<< " with " << RegRefs.count(AntiDepReg) << " references"
<< " using " << TRI->getName(NewReg) << "!\n");