llvm-project
llvm-project copied to clipboard
[clang backend] In AArch64's DataLayout, specify a minimum function alignment of 4. (#90702)
Cherry pick from main.
This addresses an issue where the explicit alignment of 2 (for C++ ABI reasons) was being propagated to the back end and causing under-aligned functions (in special sections).
This is an alternate approach suggested by @efriedma-quic in PR #90415.
Fixes #90358
@swift-ci test