This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Make FeatureFuseAdrpAdd a tune feature
ClosedPublic

Authored by MaskRay on Jun 29 2022, 12:50 AM.

Details

Summary

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

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

Diff Detail

Event Timeline

MaskRay created this revision.Jun 29 2022, 12:50 AM
MaskRay requested review of this revision.Jun 29 2022, 12:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 29 2022, 12:50 AM

I think it makes sense to move this to the Tune part as it is micro-architectural rather than architectural.

llvm/lib/Target/AArch64/AArch64.td
1092–1093

Is it worth moving the comment for FeatureFuseAdrpAdd to the ProcessorModel

MaskRay updated this revision to Diff 441095.Jun 29 2022, 11:13 AM
MaskRay marked an inline comment as done.

move a comment

peter.smith accepted this revision.Jun 30 2022, 5:57 AM

Thanks for the update LGTM.

This revision is now accepted and ready to land.Jun 30 2022, 5:57 AM
This revision was landed with ongoing or failed builds.Jun 30 2022, 10:32 AM
This revision was automatically updated to reflect the committed changes.