This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Armv9-A implies FP16
ClosedPublic

Authored by dmgreen on Jan 19 2023, 1:03 AM.

Details

Summary

As Armv9-a implies SVE2 it implies SVE (added in D141411) and so it should also imply FP16, which this patch adds. This helps get the target features correct when using target("arch=armv9-a") attributes.

There is also an adjustment to AssertSameExtensionFlags in this patch to make it print cpu names, useful when the TargetParser unit tests are run through lit to distinguish which cpu is failing.

Diff Detail

Event Timeline

dmgreen created this revision.Jan 19 2023, 1:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 19 2023, 1:03 AM
dmgreen requested review of this revision.Jan 19 2023, 1:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 19 2023, 1:03 AM
This revision is now accepted and ready to land.Jan 19 2023, 1:45 AM
This revision was landed with ongoing or failed builds.Jan 19 2023, 7:38 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJan 19 2023, 7:38 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript