================ @@ -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 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits