[llvm] [llvm][aarch64] Apple A16 & A17 had adrp-add fusion, but A14 did not (PR #81325)

David Green via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 11 01:26:16 PST 2024


davemgreen wrote:

FuseAdrpAdd is also used to enable linker relaxation in lld and the gnu linkers. I guess you are assuming this will make use of linker optimization hints instead and use the Apple linker? (That sounds OK if so).

Changes like this should ideally be accompanied by a test. Hopefully that is fairly simple, like the test in llvm/test/CodeGen/AArch64/misched-fusion-addadrp.ll.

https://github.com/llvm/llvm-project/pull/81325


More information about the llvm-commits mailing list