[llvm] [SampleFDO] Stale profile call-graph matching (PR #95135)
    Lei Wang via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Jun 14 17:58:10 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,
----------------
wlei-llvm wrote:
changed to `functionMatchesProfile`
https://github.com/llvm/llvm-project/pull/95135
    
    
More information about the llvm-commits
mailing list