[llvm] [SampleFDO] Stale profile renaming matching (PR #92151)

Lei Wang via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 12:24:26 PDT 2024


================
@@ -260,6 +270,22 @@ void SampleProfileMatcher::matchNonCallsiteLocs(
   }
 }
 
+// Filter the non-call locations from IRAnchors and ProfileAnchors and write
+// them into a list for random access later.
+static void getFilteredAnchorList(const AnchorMap &IRAnchors,
----------------
wlei-llvm wrote:

Changed to member function. 

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


More information about the llvm-commits mailing list