This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Alter arm_neon_sve_bridge.h to be target-based, not preprocessor based.
ClosedPublic

Authored by dmgreen on Aug 25 2022, 2:25 AM.

Details

Summary

Similar to D131064, this alters the arm_neon_sve_bridge.h header to use target-based intrinsics that give an error if used in a function that does not have the sve features, but are not preprocessed out. This header is simpler than the arm_sve.h and other headers, not including any tablegen'd content. The main change is altering the builtin definitions from using BUILTIN to TARGET_BUILTIN.

Diff Detail

Event Timeline

dmgreen created this revision.Aug 25 2022, 2:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 25 2022, 2:25 AM
dmgreen requested review of this revision.Aug 25 2022, 2:25 AM
Matt added a subscriber: Matt.Aug 25 2022, 10:10 AM
danielkiss accepted this revision.Oct 5 2022, 4:59 AM

LGTM, Thanks!

This revision is now accepted and ready to land.Oct 5 2022, 4:59 AM
This revision was landed with ongoing or failed builds.Jan 4 2023, 5:09 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJan 4 2023, 5:09 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript