This is an archive of the discontinued LLVM Phabricator instance.

[clang][AArc64][SVE] Implement vector-scalar operators
ClosedPublic

Authored by DavidTruby on Mar 16 2022, 10:14 AM.

Details

Summary

This patch extends the support for C/C++ operators for SVE
types to allow one of the arguments to be a scalar, in which
case a vector splat is performed.

Depends on D121119

Diff Detail

Event Timeline

DavidTruby created this revision.Mar 16 2022, 10:14 AM
Herald added a project: Restricted Project. · View Herald Transcript
DavidTruby requested review of this revision.Mar 16 2022, 10:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 16 2022, 10:14 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Fix mistake in unsigned tests

It looks like the issue you fixed for the integer tests also need fixing for the floating point variants.

It looks like the issue you fixed for the integer tests also need fixing for the floating point variants.

Yeah, this is what you get when you think you're being really smart with sed... Will upload a fix!

DavidTruby planned changes to this revision.Mar 17 2022, 9:20 AM

When updating the float tests it seems this is causing some issues with fp16 support, which I am investigating.

Matt added a subscriber: Matt.Mar 17 2022, 5:47 PM

Fix non-valid operation diagnostics
Add correct float tests
Add negative tests for invalid types

peterwaller-arm accepted this revision.Mar 21 2022, 5:40 AM
This revision is now accepted and ready to land.Mar 21 2022, 5:40 AM
This revision was automatically updated to reflect the committed changes.