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
Paths
| Differential D121829
[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 Depends on D121119
Diff Detail
Event TimelineDavidTruby added reviewers: peterwaller-arm, paulwalker-arm, bsmith, c-rhodes, MattDevereau.Mar 16 2022, 10:15 AM Comment Actions It looks like the issue you fixed for the integer tests also need fixing for the floating point variants. Comment Actions
Yeah, this is what you get when you think you're being really smart with sed... Will upload a fix! Comment Actions When updating the float tests it seems this is causing some issues with fp16 support, which I am investigating. Comment Actions Fix non-valid operation diagnostics This revision is now accepted and ready to land.Mar 21 2022, 5:40 AM Closed by commit rG683fc6203cfa: [clang][AArc64][SVE] Implement vector-scalar operators (authored by DavidTruby). · Explain WhyMar 23 2022, 7:21 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 417597 clang/include/clang/Sema/Sema.h
clang/lib/CodeGen/CGExprScalar.cpp
clang/lib/Sema/SemaExpr.cpp
clang/test/CodeGen/aarch64-sve-vector-arith-ops.c
clang/test/Sema/aarch64-sve-vector-arith-ops.c
|