Use dbgs() instead of errs() in a DEBUG.
[oota-llvm.git] / lib / Transforms / Scalar / LoopStrengthReduce.cpp
index 1f9b4156b9cd6fc1e6c369c6cc124ed9b42d7fa9..1612d895f21bb3ad9e15b558489b12e5a469991e 100644 (file)
@@ -2988,7 +2988,7 @@ void LSRInstance::NarrowSearchSpaceUsingHeuristics() {
                 if (Fixup.LUIdx == LUIdx) {
                   Fixup.LUIdx = LUThatHas - &Uses.front();
                   Fixup.Offset += F.AM.BaseOffs;
-                  DEBUG(errs() << "New fixup has offset "
+                  DEBUG(dbgs() << "New fixup has offset "
                                << Fixup.Offset << '\n');
                 }
                 if (Fixup.LUIdx == NumUses-1)