[all-commits] [llvm/llvm-project] 1b19ec: [BOLT][NFC] Split out function marking from profil...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Tue May 26 18:49:34 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b19eccf1751f99a8a77371428bc2708169c516e
      https://github.com/llvm/llvm-project/commit/1b19eccf1751f99a8a77371428bc2708169c516e
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2026-05-26 (Tue, 26 May 2026)

  Changed paths:
    M bolt/include/bolt/Profile/DataAggregator.h
    M bolt/lib/Profile/DataAggregator.cpp

  Log Message:
  -----------
  [BOLT][NFC] Split out function marking from profile parsing

Move out `setHasProfileAvailable` into `markFunctionsWithProfile`.
This also allows extracting per-pre-aggregated type handling in
`parseAggregatedLBREntry` into a switch statement.

Test Plan:
NFC

Processing time change (wall time):
* 10MB pre-aggregated profile:
  - Parsing aggregated branch events: 0.16s -> 0.05s
  - Pre-process profile data (parsing+marking): 0.18s -> 0.16s

* 6GB perf.data file:
  - Parsing branch events: 29.06s -> 28.55s
  - Pre-process profile data (excluding perf script): 29.47s -> 29.13s

Reviewers:
rafaelauler, yota9, maksfb, ayermolo, yozhu, yavtuk, paschalis-mpeis

Pull Request: https://github.com/llvm/llvm-project/pull/199320



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list