[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 09:10:32 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> MatchedProfileThreshold(
+ "matched-profile-threshold",
----------------
WenleiHe wrote:
nit: the current name is quite ambiguous, suggest rename it to `stale-matching-min-matched-block` to be consistent with the convention used by other switches, and also more explicit.
Suggestion for description: "Minimum number of exact match block for a function to be considered for profile inference."
https://github.com/llvm/llvm-project/pull/95156
More information about the llvm-branch-commits
mailing list