[RISCV] Add intrinsics for vfmv.v.f
authorCraig Topper <craig.topper@sifive.com>
Wed, 23 Dec 2020 18:01:43 +0000 (10:01 -0800)
committerCraig Topper <craig.topper@sifive.com>
Wed, 23 Dec 2020 18:50:48 +0000 (10:50 -0800)
commite0110a47402348f63b7e10dcf210bdf342a3bf9c
treefd9bc40e0cb6cc6fd9a8723ac52bdfc2b1da3f33
parenta9448872fec52fc57249934b02a4d4f15f223051
[RISCV] Add intrinsics for vfmv.v.f

Also include a special case pattern to use vmv.v.x vd, zero when
the argument is 0.0.

Reviewed By: khchen

Differential Revision: https://reviews.llvm.org/D93672
llvm/include/llvm/IR/IntrinsicsRISCV.td
llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
llvm/test/CodeGen/RISCV/rvv/vfmv.v.f-rv32.ll [new file with mode: 0644]
llvm/test/CodeGen/RISCV/rvv/vfmv.v.f-rv64.ll [new file with mode: 0644]