summaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombine.h
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-09-05 19:48:28 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-09-05 19:48:28 +0000
commit596aa123f46158639c836f1d53b89a9d7898c4b7 (patch)
treea545711a292b5fa97846fd55b400c61f6bc10edf /lib/Transforms/InstCombine/InstCombine.h
parent66bd6729e986ff3ebae8360503b0528e9f8b44e2 (diff)
downloadllvm-596aa123f46158639c836f1d53b89a9d7898c4b7.tar.gz
llvm-596aa123f46158639c836f1d53b89a9d7898c4b7.tar.bz2
llvm-596aa123f46158639c836f1d53b89a9d7898c4b7.tar.xz
Consistently use dbgs() in debug printing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190093 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/InstCombine/InstCombine.h')
-rw-r--r--lib/Transforms/InstCombine/InstCombine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/InstCombine/InstCombine.h b/lib/Transforms/InstCombine/InstCombine.h
index d035c53f74..e29bf1aa78 100644
--- a/lib/Transforms/InstCombine/InstCombine.h
+++ b/lib/Transforms/InstCombine/InstCombine.h
@@ -271,7 +271,7 @@ public:
if (&I == V)
V = UndefValue::get(I.getType());
- DEBUG(errs() << "IC: Replacing " << I << "\n"
+ DEBUG(dbgs() << "IC: Replacing " << I << "\n"
" with " << *V << '\n');
I.replaceAllUsesWith(V);
@@ -283,7 +283,7 @@ public:
// instruction. Instead, visit methods should return the value returned by
// this function.
Instruction *EraseInstFromFunction(Instruction &I) {
- DEBUG(errs() << "IC: ERASE " << I << '\n');
+ DEBUG(dbgs() << "IC: ERASE " << I << '\n');
assert(I.use_empty() && "Cannot erase instruction that is used!");
// Make sure that we reprocess all operands now that we reduced their