[PATCH] D158259: [clang][RISCV] Support operators for RVV sizeless vector types

Jianjian Guan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 18 01:24:22 PDT 2023


jacquesguan created this revision.
jacquesguan added reviewers: craig.topper, asb, luismarques, frasercrmck, reames, luke, eopXD, benshi001.
Herald added subscribers: jobnoorman, sunshaoce, VincentWu, vkmr, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, arichardson.
Herald added a project: All.
jacquesguan requested review of this revision.
Herald added subscribers: cfe-commits, wangpc.
Herald added a project: clang.

This patch supports arithmetic, bitwise logical, compare, shift and subscript operators for RVV sizeless vector types.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158259

Files:
  clang/include/clang/AST/Type.h
  clang/lib/AST/ExprConstant.cpp
  clang/lib/AST/Type.cpp
  clang/lib/CodeGen/CGExprScalar.cpp
  clang/lib/Sema/SemaChecking.cpp
  clang/lib/Sema/SemaExpr.cpp
  clang/lib/Sema/SemaExprCXX.cpp
  clang/test/CodeGen/riscv-rvv-vla-arith-ops.c
  clang/test/CodeGen/riscv-rvv-vla-bitwise-ops.c
  clang/test/CodeGen/riscv-rvv-vla-compare-ops.c
  clang/test/CodeGen/riscv-rvv-vla-shift-ops.c
  clang/test/CodeGen/riscv-rvv-vla-subscript-ops.c
  clang/test/Sema/riscv-rvv-vector-arith-ops.c
  clang/test/Sema/riscv-rvv-vector-bitwise-ops.c
  clang/test/Sema/riscv-rvv-vector-compare-ops.c
  clang/test/Sema/riscv-rvv-vector-shift-ops.c
  clang/test/Sema/riscv-rvv-vector-subscript-ops.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158259.551424.patch
Type: text/x-patch
Size: 441975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230818/18241194/attachment-0001.bin>


More information about the cfe-commits mailing list