[llvm] 9aca7b0 - [ModuloScheduler] Fix missing LLVM_DEBUG
David Penry via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 30 09:20:56 PDT 2022
Author: David Penry
Date: 2022-08-30T09:20:37-07:00
New Revision: 9aca7b02170c005f80da86bfd7bd76ca8cbd9b61
URL: https://github.com/llvm/llvm-project/commit/9aca7b02170c005f80da86bfd7bd76ca8cbd9b61
DIFF: https://github.com/llvm/llvm-project/commit/9aca7b02170c005f80da86bfd7bd76ca8cbd9b61.diff
LOG: [ModuloScheduler] Fix missing LLVM_DEBUG
Guard a debug message with LLVM_DEBUG
Differential Revision: https://reviews.llvm.org/D132895
Added:
Modified:
llvm/lib/CodeGen/MachinePipeliner.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/MachinePipeliner.cpp b/llvm/lib/CodeGen/MachinePipeliner.cpp
index e561e0af20c9..2d709949b3ab 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) {
More information about the llvm-commits
mailing list