Skip to content

Commit

Permalink
MachineScheduler.cpp: Fixup D141707, suppress `MISchedDumpReservedCyc…
Browse files Browse the repository at this point in the history
…les` conditionally.

It is used in `LLVM_ENABLE_DUMP` regardless of `NDEBUG`.
  • Loading branch information
chapuni committed Jan 14, 2023
1 parent d3968cd commit 292019e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llvm/lib/CodeGen/MachineScheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ cl::opt<bool> MISchedDumpReservedCycles(
#else
const bool ViewMISchedDAGs = false;
const bool PrintDAGs = false;
#ifdef LLVM_ENABLE_DUMP
const bool MISchedDumpReservedCycles = false;
#endif // LLVM_ENABLE_DUMP
#endif // NDEBUG

} // end namespace llvm
Expand Down

0 comments on commit 292019e

Please sign in to comment.