[PATCH] D100120: [RISCV][Clang] Add all RVV Mask intrinsic functions.
Zakk Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 8 08:52:33 PDT 2021
khchen created this revision.
khchen added reviewers: craig.topper, rogfer01, HsiangKai, evandro, liaolucy, jrtc27.
Herald added subscribers: vkmr, frasercrmck, dexonsmith, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, edward-jones, zzheng, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb.
khchen requested review of this revision.
Herald added subscribers: llvm-commits, cfe-commits, MaskRay.
Herald added projects: clang, LLVM.
1. Redefine vpopc and vfirst IR intrinsic so it could adapt on
clang tablegen generator which always appends a type for vl
in IntrinsicType of clang codegen.
2. Remove `c` type transformer and add `u` and `l` for unsigned long
and long type.
Authored-by: Roger Ferrer Ibanez <rofirrim at gmail.com>
Co-Authored-by: Zakk Chen <zakk.chen at sifive.com>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D100120
Files:
clang/include/clang/Basic/riscv_vector.td
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfirst.c
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vid.c
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/viota.c
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmand.c
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmnand.c
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmnor.c
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmor.c
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsbf.c
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsif.c
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsof.c
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmxnor.c
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmxor.c
clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vpopc.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vfirst.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vid.c
clang/test/CodeGen/RISCV/rvv-intrinsics/viota.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vmand.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vmclr.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vmnand.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vmnor.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vmor.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vmsbf.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vmset.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vmsif.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vmsof.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vmxnor.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vmxor.c
clang/test/CodeGen/RISCV/rvv-intrinsics/vpopc.c
clang/utils/TableGen/RISCVVEmitter.cpp
llvm/include/llvm/IR/IntrinsicsRISCV.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100120.336136.patch
Type: text/x-patch
Size: 319003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210408/f755a699/attachment-0001.bin>
More information about the cfe-commits
mailing list