[llvm] [llvm-profgen] Filter out ambiguous cold profiles during profile generation (PR #81803)

Lei Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 17:10:16 PST 2024


================
@@ -1024,6 +1058,7 @@ void CSProfileGenerator::postProcessProfiles() {
     CSConverter.convertCSProfiles();
     FunctionSamples::ProfileIsCS = false;
   }
+  filterAmbiguousProfile(ProfileMap);
----------------
wlei-llvm wrote:

The `postProcessProfiles ` is not a shared function for non-cs and cs, i,e, we have `CSProfileGenerator::postProcessProfiles()` and `ProfileGenerator::postProcessProfiles() `.

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


More information about the llvm-commits mailing list