diff options
Diffstat (limited to 'llvm/tools/llvm-mca/LSUnit.cpp')
-rw-r--r-- | llvm/tools/llvm-mca/LSUnit.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/tools/llvm-mca/LSUnit.cpp b/llvm/tools/llvm-mca/LSUnit.cpp index 1b6d8485cfe..dfd3e53fb49 100644 --- a/llvm/tools/llvm-mca/LSUnit.cpp +++ b/llvm/tools/llvm-mca/LSUnit.cpp @@ -36,8 +36,8 @@ void LSUnit::assignLQSlot(unsigned Index) { assert(!isLQFull()); assert(LoadQueue.count(Index) == 0); - DEBUG(dbgs() << "[LSUnit] - AssignLQSlot <Idx=" << Index - << ",slot=" << LoadQueue.size() << ">\n"); + LLVM_DEBUG(dbgs() << "[LSUnit] - AssignLQSlot <Idx=" << Index + << ",slot=" << LoadQueue.size() << ">\n"); LoadQueue.insert(Index); } @@ -45,8 +45,8 @@ void LSUnit::assignSQSlot(unsigned Index) { assert(!isSQFull()); assert(StoreQueue.count(Index) == 0); - DEBUG(dbgs() << "[LSUnit] - AssignSQSlot <Idx=" << Index - << ",slot=" << StoreQueue.size() << ">\n"); + LLVM_DEBUG(dbgs() << "[LSUnit] - AssignSQSlot <Idx=" << Index + << ",slot=" << StoreQueue.size() << ">\n"); StoreQueue.insert(Index); } @@ -123,15 +123,15 @@ void LSUnit::onInstructionExecuted(const InstRef &IR) { const unsigned Index = IR.getSourceIndex(); std::set<unsigned>::iterator it = LoadQueue.find(Index); if (it != LoadQueue.end()) { - DEBUG(dbgs() << "[LSUnit]: Instruction idx=" << Index - << " has been removed from the load queue.\n"); + LLVM_DEBUG(dbgs() << "[LSUnit]: Instruction idx=" << Index + << " has been removed from the load queue.\n"); LoadQueue.erase(it); } it = StoreQueue.find(Index); if (it != StoreQueue.end()) { - DEBUG(dbgs() << "[LSUnit]: Instruction idx=" << Index - << " has been removed from the store queue.\n"); + LLVM_DEBUG(dbgs() << "[LSUnit]: Instruction idx=" << Index + << " has been removed from the store queue.\n"); StoreQueue.erase(it); } |