[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Jun 14 11:35:07 PDT 2024
================
@@ -51,6 +51,12 @@ cl::opt<bool>
cl::desc("Infer counts from stale profile data."),
cl::init(false), cl::Hidden, cl::cat(BoltOptCategory));
+cl::opt<unsigned> StaleMatchingMinMatchedBlock(
+ "stale-matching-min-matched-block",
+ cl::desc("Percentage threshold of matched basic blocks at which stale "
+ "profile inference is executed."),
+ cl::init(50), cl::Hidden, cl::cat(BoltOptCategory));
----------------
WenleiHe wrote:
Do we want to leave the default same as current behavior for now?
https://github.com/llvm/llvm-project/pull/95156
More information about the llvm-branch-commits
mailing list