Use dbgs() instead of errs() in a DEBUG.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108453 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2010-07-15 20:12:42 +00:00
parent 87ea294b0d
commit ef4308d6ba

View File

@ -2988,7 +2988,7 @@ void LSRInstance::NarrowSearchSpaceUsingHeuristics() {
if (Fixup.LUIdx == LUIdx) { if (Fixup.LUIdx == LUIdx) {
Fixup.LUIdx = LUThatHas - &Uses.front(); Fixup.LUIdx = LUThatHas - &Uses.front();
Fixup.Offset += F.AM.BaseOffs; Fixup.Offset += F.AM.BaseOffs;
DEBUG(errs() << "New fixup has offset " DEBUG(dbgs() << "New fixup has offset "
<< Fixup.Offset << '\n'); << Fixup.Offset << '\n');
} }
if (Fixup.LUIdx == NumUses-1) if (Fixup.LUIdx == NumUses-1)