[all-commits] [llvm/llvm-project] 8f1d94: [BOLT] Use continuous output addresses in delta en...
Amir Ayupov via All-commits
all-commits at lists.llvm.org
Thu Jan 18 13:49:57 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8f1d94aaea5c18b83cd3b0df3be3a48ef1d3833d
https://github.com/llvm/llvm-project/commit/8f1d94aaea5c18b83cd3b0df3be3a48ef1d3833d
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-01-18 (Thu, 18 Jan 2024)
Changed paths:
M bolt/docs/BAT.md
M bolt/include/bolt/Profile/BoltAddressTranslation.h
M bolt/lib/Profile/BoltAddressTranslation.cpp
Log Message:
-----------
[BOLT] Use continuous output addresses in delta encoding in BAT
Make output function addresses be delta-encoded wrt last offset in the
previous function. This reduces the deltas in function start addresses.
Test Plan:
Reduces BAT section size to:
- large binary: 12218860 bytes (0.32x original),
- medium binary: 1606580 bytes (0.27x original),
- small binary: 404 bytes (0.28x original),
Reviewers: rafaelauler
Reviewed By: rafaelauler
Pull Request: https://github.com/llvm/llvm-project/pull/76904
More information about the All-commits
mailing list