aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/BasicBlockSections.cpp
diff options
context:
space:
mode:
authorVladislav Khmelevsky <och95@yandex.ru>2023-10-12 09:33:08 +0400
committerGitHub <noreply@github.com>2023-10-12 09:33:08 +0400
commitb7944f7c042925adef4e4a5ed587d7ffca8e3168 (patch)
treee7abf4d4345a224d4ae6e699c0b05a0c5970d8b5 /llvm/lib/CodeGen/BasicBlockSections.cpp
parentf98c36efefdc26afbb7dc2252f93cda56a36250a (diff)
downloadllvm-b7944f7c042925adef4e4a5ed587d7ffca8e3168.zip
llvm-b7944f7c042925adef4e4a5ed587d7ffca8e3168.tar.gz
llvm-b7944f7c042925adef4e4a5ed587d7ffca8e3168.tar.bz2
[BOLT] Return proper minimal alignment from BF (#67707)
Currently minimal alignment of function is hardcoded to 2 bytes. Add 2 more cases: 1. In case BF is data in code return the alignment of CI as minimal alignment 2. For aarch64 and riscv platforms return the minimal value of 4 (added test for aarch64) Otherwise fallback to returning the 2 as it previously was.
Diffstat (limited to 'llvm/lib/CodeGen/BasicBlockSections.cpp')
0 files changed, 0 insertions, 0 deletions