Change errs() to dbgs().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92490 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Greene
2010-01-04 17:47:05 +00:00
parent 39784e158a
commit 89d6a24262

View File

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