[llvm] [BOLT] Set call to continuation count in pre-aggregated profile (PR #109486)

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 11:53:42 PDT 2024


================
@@ -1611,7 +1664,8 @@ void DataAggregator::processBranchEvents() {
   for (const auto &AggrLBR : BranchLBRs) {
     const Trace &Loc = AggrLBR.first;
     const TakenBranchInfo &Info = AggrLBR.second;
-    doBranch(Loc.From, Loc.To, Info.TakenCount, Info.MispredCount);
+    doBranch(Loc.From, Loc.To, Info.TakenCount, Info.MispredCount,
+             /*IsPreagg=*/false);
----------------
maksfb wrote:

nit (I believe that's LLVM's preferred way):
```suggestion
             /*IsPreagg*/ false);
```

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


More information about the llvm-commits mailing list