[RISCV][Clang] Support policy functions for vmerge, vfmerge and
authorZakk Chen <zakkc@google.com>
Mon, 1 Aug 2022 17:59:53 +0000 (17:59 +0000)
committerZakk Chen <zakkc@google.com>
Tue, 2 Aug 2022 17:27:55 +0000 (17:27 +0000)
commit7eddeb9e99f36d907295a2ed75244d39e1e41e33
tree109784de3f33c532a0106868666c74a727b551b4
parentb1b22b4a85ac3593a41d9127b91985866d69cfd7
[RISCV][Clang] Support policy functions for vmerge, vfmerge and
vcompress.

We will switch all UndefValue to PoisonValue in follow up patches.

Reviewed By: kito-cheng

Differential Revision: https://reviews.llvm.org/D126745
clang/include/clang/Basic/riscv_vector.td
clang/include/clang/Support/RISCVVIntrinsicUtils.h
clang/lib/Support/RISCVVIntrinsicUtils.cpp
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vcompress.c
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmerge.c
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmerge.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vcompress.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vfmerge.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vmerge.c