aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-15 20:12:42 +0000
committerDan Gohman <gohman@apple.com>2010-07-15 20:12:42 +0000
commitef4308d6ba6a57c8a311fcabe078422aea3fc90a (patch)
treec09ad6c35a68e6f9e24a1ceb0fb7abb03201af73
parent87ea294b0d72ef5f29c6d3ea9c9c5faa8be7abc4 (diff)
downloadexternal_llvm-ef4308d6ba6a57c8a311fcabe078422aea3fc90a.zip
external_llvm-ef4308d6ba6a57c8a311fcabe078422aea3fc90a.tar.gz
external_llvm-ef4308d6ba6a57c8a311fcabe078422aea3fc90a.tar.bz2
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
-rw-r--r--lib/Transforms/Scalar/LoopStrengthReduce.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 1f9b415..1612d89 100644
--- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -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)