This is an archive of the discontinued LLVM Phabricator instance.

[clang][AArch64][SVE] Add unary +/- operators for SVE types
ClosedPublic

Authored by DavidTruby on Aug 2 2022, 5:01 AM.

Details

Summary

This patch enables the unary promotion and negation operators on
SVE types.

Diff Detail

Event Timeline

DavidTruby created this revision.Aug 2 2022, 5:01 AM
DavidTruby requested review of this revision.Aug 2 2022, 5:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 2 2022, 5:01 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
Matt added a subscriber: Matt.Aug 2 2022, 9:54 AM
c-rhodes accepted this revision.Aug 4 2022, 7:12 AM

LGTM, just one minor comment

clang/test/CodeGen/aarch64-sve-vector-arith-ops.c
1654

should we add FP tests as well?

This revision is now accepted and ready to land.Aug 4 2022, 7:12 AM
This revision was landed with ongoing or failed builds.Aug 10 2022, 3:41 AM
This revision was automatically updated to reflect the committed changes.