[RISCV] Define vector vfsgnj/vfsgnjn/vfsgnjx intrinsics.
authorHsiangkai Wang <kai.wang@sifive.com>
Sat, 19 Dec 2020 14:01:41 +0000 (22:01 +0800)
committerHsiangkai Wang <kai.wang@sifive.com>
Sun, 20 Dec 2020 09:39:04 +0000 (17:39 +0800)
commitbd576ac8d4b11566b41b778915cdbd50786a0f71
treecd5cee920b09d8dec82d2d3a7f4589e01356e4fe
parent62c94f06781dba1a3ec717c1486934de2e939052
[RISCV] Define vector vfsgnj/vfsgnjn/vfsgnjx intrinsics.

Define vector vfsgnj/vfsgnjn/vfsgnjx 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/D93581
llvm/include/llvm/IR/IntrinsicsRISCV.td
llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
llvm/test/CodeGen/RISCV/rvv/vfsgnj-rv32.ll [new file with mode: 0644]
llvm/test/CodeGen/RISCV/rvv/vfsgnj-rv64.ll [new file with mode: 0644]
llvm/test/CodeGen/RISCV/rvv/vfsgnjn-rv32.ll [new file with mode: 0644]
llvm/test/CodeGen/RISCV/rvv/vfsgnjn-rv64.ll [new file with mode: 0644]
llvm/test/CodeGen/RISCV/rvv/vfsgnjx-rv32.ll [new file with mode: 0644]
llvm/test/CodeGen/RISCV/rvv/vfsgnjx-rv64.ll [new file with mode: 0644]