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

Amir Ayupov via All-commits all-commits at lists.llvm.org
Thu Jan 11 11:54:14 PST 2024


  Branch: refs/heads/users/aaupov/spr/main.bolt-encode-bat-using-uleb128
  Home:   https://github.com/llvm/llvm-project
  Commit: d9df92aee095981a826586849b01ba223a708fc3
      https://github.com/llvm/llvm-project/commit/d9df92aee095981a826586849b01ba223a708fc3
  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