[PATCH] D121829: [clang][AArc64][SVE] Implement vector-scalar operators

David Truby via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 16 10:14:27 PDT 2022


DavidTruby created this revision.
Herald added subscribers: ctetreau, psnobl, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: All.
DavidTruby requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

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 <https://reviews.llvm.org/D121119>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121829

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121829.415892.patch
Type: text/x-patch
Size: 59017 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220316/ae639476/attachment-0001.bin>


More information about the cfe-commits mailing list