[llvm] [SampleFDO] Stale profile call-graph matching (PR #92151)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 1 16:56:28 PDT 2024


================
@@ -20,12 +20,31 @@ using namespace sampleprof;
 
 #define DEBUG_TYPE "sample-profile-matcher"
 
+static cl::opt<bool> SalvageRenamedProfile(
+    "salvage-renamed-profile", cl::Hidden, cl::init(false),
+    cl::desc("Salvage renamed profile by function renaming matching."));
+
+static cl::opt<unsigned> RenamedFuncSimilarityThreshold(
----------------
WenleiHe wrote:

`func-profile-similarity-threshold`?

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


More information about the llvm-commits mailing list