[LegalizeTypes][VP] Add integer promotion support for vp.sitofp/vp.uitofp
commit0e8ac3a79741e1db0296016f04b4024041aab5ab
authorPing Deng <Ping.Deng@streamcomputing.com>
Sun, 22 May 2022 02:13:35 +0000 (22 02:13 +0000)
committerBen Shi <ben.shi@streamcomputing.com>
Sun, 22 May 2022 02:13:45 +0000 (22 02:13 +0000)
tree48912e9a91945da4db372ac7d26bf698677e616e
parent0b903ef6aa0976a60d3f448837f3c43adaf09cc1
[LegalizeTypes][VP] Add integer promotion support for vp.sitofp/vp.uitofp

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D125960
llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-i2fp.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/vitofp-sdnode.ll
llvm/test/CodeGen/RISCV/rvv/vsitofp-vp.ll
llvm/test/CodeGen/RISCV/rvv/vuitofp-vp.ll