From 9aca7b02170c005f80da86bfd7bd76ca8cbd9b61 Mon Sep 17 00:00:00 2001 From: David Penry Date: Mon, 29 Aug 2022 15:44:19 -0700 Subject: [PATCH] [ModuloScheduler] Fix missing LLVM_DEBUG Guard a debug message with LLVM_DEBUG Differential Revision: https://reviews.llvm.org/D132895 --- llvm/lib/CodeGen/MachinePipeliner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.7.4