projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3968cd
)
MachineScheduler.cpp: Fixup D141707, suppress `MISchedDumpReservedCycles` conditionally.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Sat, 14 Jan 2023 00:58:16 +0000
(09:58 +0900)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Sat, 14 Jan 2023 01:04:23 +0000
(10:04 +0900)
It is used in `LLVM_ENABLE_DUMP` regardless of `NDEBUG`.
llvm/lib/CodeGen/MachineScheduler.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/MachineScheduler.cpp
b/llvm/lib/CodeGen/MachineScheduler.cpp
index
b7893fa
..
5ab5a40
100644
(file)
--- a/
llvm/lib/CodeGen/MachineScheduler.cpp
+++ b/
llvm/lib/CodeGen/MachineScheduler.cpp
@@
-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