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

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 14 15:59:24 PST 2024


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

why do we have it both here and in `postProcessProfiles `

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


More information about the llvm-commits mailing list