[all-commits] [llvm/llvm-project] 565f40: [BOLT] Encode BAT using ULEB128 (#76899)

Amir Ayupov via All-commits all-commits at lists.llvm.org
Thu Jan 11 12:17:01 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 565f40d66b8dff1dfd1e30171ca8f51dc37eb27f
      https://github.com/llvm/llvm-project/commit/565f40d66b8dff1dfd1e30171ca8f51dc37eb27f
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-01-11 (Thu, 11 Jan 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.test

  Log Message:
  -----------
  [BOLT] Encode BAT using ULEB128 (#76899)

Reduces BAT section size, bytes:
- large binary: 38676872 -> 23262524 (0.60x),
- medium binary (trunk clang): 5938004 -> 3213504 (0.54x),
- small binary (X86/bolt-address-translation.test): 1436 -> 680 (0.47x).

Test Plan: Updated bolt/test/X86/bolt-address-translation.test




More information about the All-commits mailing list