[llvm] [llvm-profgen] Improve sample profile density (PR #92144)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 16 22:30:52 PDT 2024


================
@@ -121,7 +121,7 @@ class ProfileGeneratorBase {
   double calculateDensity(const SampleProfileMap &Profiles,
----------------
WenleiHe wrote:

If we change how density is calculated, we should change it everywhere to be consistent. Why leaving the old heuristic there for non-CS profile? 

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


More information about the llvm-commits mailing list