[llvm] [InstrProf] Support conditional counter updates (PR #102542)
Ellis Hoag via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 12 13:07:11 PDT 2024
================
@@ -132,6 +132,11 @@ cl::opt<bool> AtomicFirstCounter(
"the entry counter)"),
cl::init(false));
+cl::opt<bool> ConditionalCounterUpdate(
+ "conditional-counter-update",
+ cl::desc("Do conditional counter updates in single byte counters mode)"),
+ cl::init(false));
----------------
ellishg wrote:
`lowerCover()` was originally introduced as a binary size optimization. If we make this the default we will regress size quite a bit, so I would rather keep the default `false`.
https://github.com/llvm/llvm-project/pull/102542
More information about the llvm-commits
mailing list