[RISCV][Clang] Add all RVV Reduction intrinsic functions.
authorZakk Chen <zakk.chen@sifive.com>
Tue, 6 Apr 2021 14:57:41 +0000 (07:57 -0700)
committerZakk Chen <zakk.chen@sifive.com>
Mon, 12 Apr 2021 02:19:01 +0000 (19:19 -0700)
commitc680b0dabf367046c9acb397cddc5e3a2194bbaa
treeb000cfea8e6d683cb08a3091557e221da39abd79
parent07c3854a75bcbb7521f27e1e775bc79f4d0340f7
[RISCV][Clang] Add all RVV Reduction intrinsic functions.

Authored-by: Roger Ferrer Ibanez <rofirrim@gmail.com>
Co-Authored-by: Zakk Chen <zakk.chen@sifive.com>
Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D99964
24 files changed:
clang/include/clang/Basic/riscv_vector.td
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfredmax.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfredmin.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfredsum.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwredsum.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredand.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredmax.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredmin.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredor.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredsum.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredxor.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwredsum.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics/vfredmax.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics/vfredmin.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics/vfredsum.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics/vfwredosum.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics/vfwredsum.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics/vredand.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics/vredmax.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics/vredmin.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics/vredor.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics/vredsum.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics/vredxor.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/rvv-intrinsics/vwredsum.c [new file with mode: 0644]