[llvm] [SampleFDO] Stale profile renaming matching (PR #92151)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 17 21:17:01 PDT 2024
================
@@ -20,12 +20,22 @@ using namespace sampleprof;
#define DEBUG_TYPE "sample-profile-matcher"
+static cl::opt<bool> SalvageFunctionRenaming(
+ "salvage-function-renaming", cl::Hidden, cl::init(false),
+ cl::desc("Salvage stale profile by function renaming matching."));
+
+static cl::opt<unsigned> FuncRenamingSimilarityThreshold(
+ "func-renaming-similarity-threshold", cl::Hidden, cl::init(80),
----------------
WenleiHe wrote:
nit: `renamed-func-similarity-threshold`
https://github.com/llvm/llvm-project/pull/92151
More information about the llvm-commits
mailing list