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 | 596aa123f46158639c836f1d53b89a9d7898c4b7 (patch) | |
tree | a545711a292b5fa97846fd55b400c61f6bc10edf /lib/Transforms/InstCombine/InstCombineWorklist.h | |
parent | 66bd6729e986ff3ebae8360503b0528e9f8b44e2 (diff) | |
download | llvm-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/InstCombineWorklist.h')
-rw-r--r-- | lib/Transforms/InstCombine/InstCombineWorklist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/InstCombine/InstCombineWorklist.h b/lib/Transforms/InstCombine/InstCombineWorklist.h index 11095585b7..f84db2730b 100644 --- a/lib/Transforms/InstCombine/InstCombineWorklist.h +++ b/lib/Transforms/InstCombine/InstCombineWorklist.h @@ -37,7 +37,7 @@ public: /// in it. void Add(Instruction *I) { if (WorklistMap.insert(std::make_pair(I, Worklist.size())).second) { - DEBUG(errs() << "IC: ADD: " << *I << '\n'); + DEBUG(dbgs() << "IC: ADD: " << *I << '\n'); Worklist.push_back(I); } } @@ -54,7 +54,7 @@ public: assert(Worklist.empty() && "Worklist must be empty to add initial group"); Worklist.reserve(NumEntries+16); WorklistMap.resize(NumEntries); - DEBUG(errs() << "IC: ADDING: " << NumEntries << " instrs to worklist\n"); + DEBUG(dbgs() << "IC: ADDING: " << NumEntries << " instrs to worklist\n"); for (unsigned Idx = 0; NumEntries; --NumEntries) { Instruction *I = List[NumEntries-1]; WorklistMap.insert(std::make_pair(I, Idx++)); |