aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachinePipeliner.cpp
diff options
context:
space:
mode:
authorDavid Penry <david.penry@arm.com>2022-08-29 15:44:19 -0700
committerDavid Penry <david.penry@arm.com>2022-08-30 09:20:37 -0700
commit9aca7b02170c005f80da86bfd7bd76ca8cbd9b61 (patch)
tree72a1106fb6ae09a9682dda6ac59e07120c4eef1d /llvm/lib/CodeGen/MachinePipeliner.cpp
parenta72f6b032c37138212d75256e2ddee6fd301c0da (diff)
downloadllvm-9aca7b02170c005f80da86bfd7bd76ca8cbd9b61.zip
llvm-9aca7b02170c005f80da86bfd7bd76ca8cbd9b61.tar.gz
llvm-9aca7b02170c005f80da86bfd7bd76ca8cbd9b61.tar.bz2
[ModuloScheduler] Fix missing LLVM_DEBUG
Guard a debug message with LLVM_DEBUG Differential Revision: https://reviews.llvm.org/D132895
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
-rw-r--r--llvm/lib/CodeGen/MachinePipeliner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachinePipeliner.cpp b/llvm/lib/CodeGen/MachinePipeliner.cpp
index e561e0a..2d70994 100644
--- a/llvm/lib/CodeGen/MachinePipeliner.cpp
+++ b/llvm/lib/CodeGen/MachinePipeliner.cpp
@@ -2101,7 +2101,7 @@ bool SwingSchedulerDAG::schedulePipeline(SMSchedule &Schedule) {
if (scheduleFound) {
scheduleFound = LoopPipelinerInfo->shouldUseSchedule(*this, Schedule);
if (!scheduleFound)
- dbgs() << "Target rejected schedule\n";
+ LLVM_DEBUG(dbgs() << "Target rejected schedule\n");
}
if (scheduleFound) {