[LegalizeTypes][VP] Add widen and split support for VP FP integer casting op.
authorjacquesguan <Jianjian.Guan@streamcomputing.com>
Thu, 2 Jun 2022 03:00:02 +0000 (03:00 +0000)
committerjacquesguan <Jianjian.Guan@streamcomputing.com>
Thu, 2 Jun 2022 09:05:27 +0000 (09:05 +0000)
commit5482ae632895c1b4647724f87b22188c2efb03d6
treeffb0b8bb98c43d4f3dab66ba444cefd99970ba0d
parent9f0869a61dc8d8227956b56cdb0c5c877bb8718a
[LegalizeTypes][VP] Add widen and split support for VP FP integer casting op.

This patch adds widen and split support for VP_FPTOSI, VP_FPTOUI, VP_SITOFP and VP_UITOFP.

Differential Revision: https://reviews.llvm.org/D126847
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fptosi-vp.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fptoui-vp.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-sitofp-vp.ll
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-uitofp-vp.ll
llvm/test/CodeGen/RISCV/rvv/vfptosi-vp.ll
llvm/test/CodeGen/RISCV/rvv/vfptoui-vp.ll
llvm/test/CodeGen/RISCV/rvv/vsitofp-vp.ll
llvm/test/CodeGen/RISCV/rvv/vuitofp-vp.ll