llvm-project
62a5ff06 - [BOLT][AArch64] Enable clustered branch relaxation by default (#234932)

Commit
23 hours ago
[BOLT][AArch64] Enable clustered branch relaxation by default (#234932) Use clustered relaxation by default when code relocations are available, and keep --relax-exp as a hidden alias. Without relocations, fall back to local branch relaxation or stub-insertion pass unless clustered relaxation was explicitly requested, in which case exit with an error message. Allow clustered relaxation to handle short-range branches without requiring the --compact-code-model option. Move tests that are exclusive to stub-insertion pass into a separate folder. Link with test/Inputs/stub.c in eh-frame-hdr.test and eh-frame-overwrite.test to avoid external-call thunks, whose FDEs would prevent the unwind sections from being rewritten in place when using clustered relaxation.
Author
Parents
Loading