[AArch64] Enable FeatureFuseAdrpAdd for all Arm cpus
authorDavid Green <david.green@arm.com>
Mon, 26 Sep 2022 08:55:10 +0000 (09:55 +0100)
committerDavid Green <david.green@arm.com>
Mon, 26 Sep 2022 08:55:10 +0000 (09:55 +0100)
commitbebc96956b76bdbc36f1d82a788c810e5b12e2c5
tree8b701bd9012c52f9316ddfaff215a4b2ea861824
parente66345d54d5f5e803f54c1ace487d57bb11ee884
[AArch64] Enable FeatureFuseAdrpAdd for all Arm cpus

The commit D120104 enabled FeatureFuseAdrpAdd for -mcpu=generic,
allowing the linker to relax adrp;add pairs where possible. D132075
extended that to neoverse-n1, this patch extends it to all other cortex
and neoverse cpus for the same reasons.

Differential Revision: https://reviews.llvm.org/D134521
llvm/lib/Target/AArch64/AArch64.td
llvm/test/CodeGen/AArch64/misched-fusion-addadrp.ll [new file with mode: 0644]