[RISCV] Lower BUILD_VECTOR to RISCVISD::VID_VL if it is floating-point type.
authorHan-Kuan Chen <hankuan.chen@sifive.com>
Tue, 27 Sep 2022 05:48:52 +0000 (22:48 -0700)
committerHan-Kuan Chen <hankuan.chen@sifive.com>
Wed, 28 Sep 2022 00:25:34 +0000 (17:25 -0700)
commitc595c874cb32564d05a31b565a41d67b3319533e
tree8261e0f816a75a89bf4bc213ab30b28708398884
parent697550ac2a5c508af397f9c936d4a0c9edf0222c
[RISCV] Lower BUILD_VECTOR to RISCVISD::VID_VL if it is floating-point type.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D133688
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll
llvm/test/CodeGen/RISCV/rvv/vle_vid-vfcvt.ll [new file with mode: 0644]