[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(
----------------
WenleiHe wrote:

Should we remove "rename" here to be consistent? For functions, it's *new* functions, for profiles it's *unused* profile. So maybe: `salvage-unused-profile`? 

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


More information about the llvm-commits mailing list