[all-commits] [llvm/llvm-project] b0e236: [BOLT] Add BB index to BAT

Amir Ayupov via All-commits all-commits at lists.llvm.org
Fri Mar 22 08:44:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0e23639c5b19030bee2b307173802914f64aad6
      https://github.com/llvm/llvm-project/commit/b0e23639c5b19030bee2b307173802914f64aad6
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-03-22 (Fri, 22 Mar 2024)

  Changed paths:
    M bolt/docs/BAT.md
    M bolt/include/bolt/Profile/BoltAddressTranslation.h
    M bolt/lib/Profile/BoltAddressTranslation.cpp
    M bolt/test/X86/bolt-address-translation-yaml.test
    M bolt/test/X86/bolt-address-translation.test

  Log Message:
  -----------
  [BOLT] Add BB index to BAT

Add input basic block index to BAT metadata. This addresses the case
where some basic blocks are eliminated, and output index is not equal
to the input block index. These indices are used in non-stale-matching
mode.

Increases BAT section size to:
- large binary: 39521512 bytes (1.02x original),
- medium binary: 3799988 bytes (0.64x),
- small binary: 920 bytes (0.64x).

Test Plan:
Updated bolt-address-translation{,-yaml}.test

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



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