[all-commits] [llvm/llvm-project] dc513f: [BOLT] Zero initialize pre-aggregated counters (#1...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Tue Jun 3 20:50:41 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc513fa8dc361cb71a2c607f2bd75d812f31459b
      https://github.com/llvm/llvm-project/commit/dc513fa8dc361cb71a2c607f2bd75d812f31459b
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M bolt/lib/Profile/DataAggregator.cpp
    M bolt/test/X86/entry-point-fallthru.s

  Log Message:
  -----------
  [BOLT] Zero initialize pre-aggregated counters (#142698)

#140196 introduced UB by using uninitialized misprediction count for
pre-aggregated traces. Fix by zero initializing both counters.

Test Plan: updated entry-point-fallthru.s



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