[LegalizeTypes][VP] Add integer promotion support for vp.fptosi/vp.fptoui
authorPing Deng <Ping.Deng@streamcomputing.com>
Mon, 30 May 2022 02:52:40 +0000 (02:52 +0000)
committerBen Shi <ben.shi@streamcomputing.com>
Mon, 30 May 2022 03:05:39 +0000 (03:05 +0000)
commit083798e2702f9b12828ba9d3ee4d1486340a2cb5
treef1ba574f245254b9e1e051b673b7debb99774732
parent42c3c70a9e3f0a697b8794f4e8b603091ffb12a4
[LegalizeTypes][VP] Add integer promotion support for vp.fptosi/vp.fptoui

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D125760
llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp2i.ll
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/vfptoi-sdnode.ll
llvm/test/CodeGen/RISCV/rvv/vfptosi-vp.ll
llvm/test/CodeGen/RISCV/rvv/vfptoui-vp.ll