[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

shaw young via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jun 14 12:04:52 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));
----------------
shawbyoung wrote:

Yes, changed the default to 0

https://github.com/llvm/llvm-project/pull/95156


More information about the llvm-branch-commits mailing list