Skip to content

Commit 292019e

Browse files
committed
MachineScheduler.cpp: Fixup D141707, suppress MISchedDumpReservedCycles conditionally.
It is used in `LLVM_ENABLE_DUMP` regardless of `NDEBUG`.
1 parent d3968cd commit 292019e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/CodeGen/MachineScheduler.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ cl::opt<bool> MISchedDumpReservedCycles(
101101
#else
102102
const bool ViewMISchedDAGs = false;
103103
const bool PrintDAGs = false;
104+
#ifdef LLVM_ENABLE_DUMP
104105
const bool MISchedDumpReservedCycles = false;
106+
#endif // LLVM_ENABLE_DUMP
105107
#endif // NDEBUG
106108

107109
} // end namespace llvm

0 commit comments

Comments
 (0)