[RISCV] Define vector vfmul/vfdiv/vfrdiv intrinsics.
authorHsiangkai Wang <kai.wang@sifive.com>
Sat, 19 Dec 2020 13:46:29 +0000 (21:46 +0800)
committerHsiangkai Wang <kai.wang@sifive.com>
Sun, 20 Dec 2020 09:38:57 +0000 (17:38 +0800)
commit62c94f06781dba1a3ec717c1486934de2e939052
tree29f197c1e915f35dcd6ae9240eacd810613a4233
parent37974b493a48cf97ac3d486512d6cd70c176924a
[RISCV] Define vector vfmul/vfdiv/vfrdiv intrinsics.

Define vector vfmul/vfdiv/vfrdiv intrinsics and lower them to V instructions.

We work with @rogfer01 from BSC to come out this patch.

Authored-by: Roger Ferrer Ibanez <rofirrim@gmail.com>
Co-Authored-by: Hsiangkai Wang <kai.wang@sifive.com>
Differential Revision: https://reviews.llvm.org/D93580
llvm/include/llvm/IR/IntrinsicsRISCV.td
llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
llvm/test/CodeGen/RISCV/rvv/vfdiv-rv32.ll [new file with mode: 0644]
llvm/test/CodeGen/RISCV/rvv/vfdiv-rv64.ll [new file with mode: 0644]
llvm/test/CodeGen/RISCV/rvv/vfmul-rv32.ll [new file with mode: 0644]
llvm/test/CodeGen/RISCV/rvv/vfmul-rv64.ll [new file with mode: 0644]
llvm/test/CodeGen/RISCV/rvv/vfrdiv-rv32.ll [new file with mode: 0644]
llvm/test/CodeGen/RISCV/rvv/vfrdiv-rv64.ll [new file with mode: 0644]