[AArch64] Make FeatureFuseAdrpAdd a tune feature
authorFangrui Song <i@maskray.me>
Thu, 30 Jun 2022 17:32:38 +0000 (10:32 -0700)
committerFangrui Song <i@maskray.me>
Thu, 30 Jun 2022 17:32:38 +0000 (10:32 -0700)
commitab2e1c0804f86501e8548756f8a3deb41870db44
tree1b212b6130bf3a725f347e575e62a5a30c518047
parent329fae7103d355e728cc326a0a9abef889ccc577
[AArch64] Make FeatureFuseAdrpAdd a tune feature

Update D120104 to add FeatureFuseAdrpAdd to Processor#TuneFeatures
instead of Processor#Features, similar to FeatureFuseAES, and matching
Tune*.

This enables FeatureFuseAdrpAdd for `clang -mcpu=xxx -mtune=generic` even
if xxx does not set FeatureFuseAdrpAdd.

Reviewed By: alexander-shaposhnikov, peter.smith

Differential Revision: https://reviews.llvm.org/D128787
llvm/lib/Target/AArch64/AArch64.td
llvm/test/CodeGen/AArch64/misched-fusion-lit.ll