[10/11][POC][Clang][RISCV] Define vget for tuple type
authoreopXD <yueh.ting.chen@gmail.com>
Mon, 10 Apr 2023 07:18:34 +0000 (00:18 -0700)
committereopXD <yueh.ting.chen@gmail.com>
Mon, 22 May 2023 11:29:28 +0000 (04:29 -0700)
commit6a097e279c7831d12e9ed56ca5cc021e68315c12
treecbedc684848cd4ebde67f1ae7b321c9658101ab0
parent5eb1b1fc1f889f22792d937b57cccaee06771797
[10/11][POC][Clang][RISCV] Define vget for tuple type

For the cover letter of this patch-set, please checkout D146872.

Depends on D147915.

This is the 10th patch of the patch-set.

This patch is a proof-of-concept and will be extended to full coverage
in the future. Only vget for tuple type of NF=2, EEW=32, LMUL=1 is
defined now.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D147916
clang/include/clang/Basic/riscv_vector.td
clang/lib/Sema/SemaChecking.cpp
clang/lib/Support/RISCVVIntrinsicUtils.cpp
clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated/non-policy/non-overloaded/vget_tuple.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/vget-index-out-of-range.c