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

via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 00:12:25 PDT 2024


================
@@ -127,8 +147,37 @@ void SampleProfileMatcher::findProfileAnchors(const FunctionSamples &FS,
   }
 }
 
-LocToLocMap SampleProfileMatcher::longestCommonSequence(
-    const AnchorList &AnchorList1, const AnchorList &AnchorList2) const {
+bool SampleProfileMatcher::isFunctionEqual(const FunctionId &IRFuncName,
----------------
WenleiHe wrote:

this is not a good name. should this still be called `functionMatchesProfile`?

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


More information about the llvm-commits mailing list