[llvm] [CSSPGO] Compute and report profile matching recovered callsites and samples (PR #79090)

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 23:33:51 PST 2024


================
@@ -444,15 +444,42 @@ class SampleProfileMatcher {
   // the profile.
   StringMap<LocToLocMap> FuncMappings;
 
-  // Profile mismatching statstics.
+  // Match state for an anchor/callsite.
+  enum class MatchState {
+    Unknown = 0,
+    // Initial match in pre-match.
----------------
WenleiHe wrote:

For all instances: 

"in pre-match" -> "between input profile and current IR"

"in post-match" -> "after fuzzy profile matching"

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


More information about the llvm-commits mailing list