[llvm] [StaleProfileMatching] Use only profile anchor size for similarity calculation (PR #126783)

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 12 22:49:55 PST 2025


================
@@ -23,7 +23,7 @@ using namespace sampleprof;
 #define DEBUG_TYPE "sample-profile-matcher"
 
 static cl::opt<unsigned> FuncProfileSimilarityThreshold(
-    "func-profile-similarity-threshold", cl::Hidden, cl::init(80),
+    "func-profile-similarity-threshold", cl::Hidden, cl::init(70),
----------------
WenleiHe wrote:

any explanation for the change in threshold? in addition to the change in how it's calculated

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


More information about the llvm-commits mailing list