[Clang][RISCV] Check type support for local variable declaration of RVV type
authoreopXD <yueh.ting.chen@gmail.com>
Thu, 22 Jun 2023 08:35:34 +0000 (01:35 -0700)
committereopXD <yueh.ting.chen@gmail.com>
Mon, 26 Jun 2023 08:59:40 +0000 (01:59 -0700)
commit3b85be3df23cfb8fb4d1f0656eac3214cf400c72
tree63134243aff5057298bcd44ae608427770f1e383
parentd54e447848e9e2b6410b22587f4179f2bc7a28bc
[Clang][RISCV] Check type support for local variable declaration of RVV type

Guard local variable declaration for RVV intrinsic types.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D153510
clang/include/clang/Sema/Sema.h
clang/lib/Sema/Sema.cpp
clang/lib/Sema/SemaChecking.cpp
clang/lib/Sema/SemaDecl.cpp
clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/rvv-intrinsic-datatypes.cpp
clang/test/Sema/riscv-types.c
clang/test/Sema/riscv-vector-float16-check.c
clang/test/Sema/riscv-vector-float32-check.c
clang/test/Sema/riscv-vector-float64-check.c
clang/test/Sema/riscv-vector-int64-check.c
clang/test/Sema/riscv-vector-zve32x-check.c [new file with mode: 0644]