[PATCH] D132895: [ModuloScheduler] Fix missing LLVM_DEBUG
David Penry via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 29 15:55:27 PDT 2022
dpenry created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
dpenry requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Guard a debug message with LLVM_DEBUG
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D132895
Files:
llvm/lib/CodeGen/MachinePipeliner.cpp
Index: llvm/lib/CodeGen/MachinePipeliner.cpp
===================================================================
--- llvm/lib/CodeGen/MachinePipeliner.cpp
+++ llvm/lib/CodeGen/MachinePipeliner.cpp
@@ -2101,7 +2101,7 @@
if (scheduleFound) {
scheduleFound = LoopPipelinerInfo->shouldUseSchedule(*this, Schedule);
if (!scheduleFound)
- dbgs() << "Target rejected schedule\n";
+ LLVM_DEBUG(dbgs() << "Target rejected schedule\n");
}
if (scheduleFound) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132895.456484.patch
Type: text/x-patch
Size: 481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220829/8a0ea8ae/attachment.bin>
More information about the llvm-commits
mailing list