This is an archive of the discontinued LLVM Phabricator instance.

[clang][AArch64][SVE] Change SVE_VECTOR_OPERATORS macro for VLA vectors
ClosedPublic

Authored by DavidTruby on Aug 10 2022, 7:58 AM.

Details

Summary

The __ARM_FEATURE_SVE_VECTOR_OPERATORS macro should be changed to
indicate that this feature is now supported on VLA vectors as well as
VLS vectors. There is a complementary PR to the ACLE spec here
https://github.com/ARM-software/acle/pull/213

Diff Detail

Event Timeline

DavidTruby created this revision.Aug 10 2022, 7:58 AM
DavidTruby requested review of this revision.Aug 10 2022, 7:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 10 2022, 7:58 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
peterwaller-arm accepted this revision.Aug 10 2022, 8:11 AM
This revision is now accepted and ready to land.Aug 10 2022, 8:11 AM
peterwaller-arm requested changes to this revision.Aug 10 2022, 8:12 AM
peterwaller-arm added inline comments.
clang/lib/Basic/Targets/AArch64.cpp
493

Wrong operator?

This revision now requires changes to proceed.Aug 10 2022, 8:12 AM
peterwaller-arm accepted this revision.Aug 10 2022, 8:16 AM
peterwaller-arm added inline comments.
clang/lib/Basic/Targets/AArch64.cpp
493

Sorry, I see I misinterpreted this, it's a bitmask check.

This revision is now accepted and ready to land.Aug 10 2022, 8:16 AM
Matt added a subscriber: Matt.Aug 10 2022, 12:21 PM
This revision was automatically updated to reflect the committed changes.
DavidTruby marked an inline comment as done.