[llvm] [PGO] Sampled instrumentation in PGO to speed up instrumentation binary (PR #69535)
David Li via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 18 21:43:29 PDT 2023
================
@@ -148,6 +150,16 @@ cl::opt<bool> SkipRetExitBlock(
"skip-ret-exit-block", cl::init(true),
cl::desc("Suppress counter promotion if exit blocks contain ret."));
+static cl::opt<bool>
+ SampledInstrument("sampled-instr", cl::ZeroOrMore, cl::init(false),
----------------
david-xl wrote:
naming nit: SampledInstr to be consistent with command name. Similar change in other places.
https://github.com/llvm/llvm-project/pull/69535
More information about the llvm-commits
mailing list