diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-09-05 19:48:28 +0000 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-09-05 19:48:28 +0000 |
| commit | e6db76071c60eb3ce05efee8227342196790bd81 (patch) | |
| tree | 993401b2a358767b2b9aebecf32f30bb93639898 /llvm/lib/Transforms/InstCombine/InstCombine.h | |
| parent | 8e3275c22b9f1bb85a400d74ac6410ad40fa8469 (diff) | |
| download | bcm5719-llvm-e6db76071c60eb3ce05efee8227342196790bd81.tar.gz bcm5719-llvm-e6db76071c60eb3ce05efee8227342196790bd81.zip | |
Consistently use dbgs() in debug printing
llvm-svn: 190093
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombine.h')
| -rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombine.h b/llvm/lib/Transforms/InstCombine/InstCombine.h index d035c53f744..e29bf1aa780 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombine.h +++ b/llvm/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 |

