summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/CriticalAntiDepBreaker.cpp
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2010-01-04 17:47:05 +0000
committerDavid Greene <greened@obbligato.org>2010-01-04 17:47:05 +0000
commit89d6a2426256b56780c7934ddad24e6ecc4f690a (patch)
tree2abb3fb4be432b2402b9531f8a656db30166162a /lib/CodeGen/CriticalAntiDepBreaker.cpp
parent39784e158a49c4920a3219fcab2841fe9250826c (diff)
downloadexternal_llvm-89d6a2426256b56780c7934ddad24e6ecc4f690a.zip
external_llvm-89d6a2426256b56780c7934ddad24e6ecc4f690a.tar.gz
external_llvm-89d6a2426256b56780c7934ddad24e6ecc4f690a.tar.bz2
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92490 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CriticalAntiDepBreaker.cpp')
-rw-r--r--lib/CodeGen/CriticalAntiDepBreaker.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/CodeGen/CriticalAntiDepBreaker.cpp b/lib/CodeGen/CriticalAntiDepBreaker.cpp
index 3c7961c..12584bd 100644
--- a/lib/CodeGen/CriticalAntiDepBreaker.cpp
+++ b/lib/CodeGen/CriticalAntiDepBreaker.cpp
@@ -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");