[RISCV] Use fcvt.h/d/f.w if the input is an assertsexti32 not just when the input...
authorCraig Topper <craig.topper@sifive.com>
Sat, 5 Dec 2020 02:36:14 +0000 (18:36 -0800)
committerCraig Topper <craig.topper@sifive.com>
Sat, 5 Dec 2020 02:40:02 +0000 (18:40 -0800)
commit03fc4f2e9a66cc316937fc6326fdd9cd51d397d2
tree8c879697f18620613d8fced66db1ba10c220a4b3
parent3242eaef27196c717227331bed6a5af31a92b074
[RISCV] Use fcvt.h/d/f.w if the input is an assertsexti32 not just when the input is sext_inreg.
llvm/lib/Target/RISCV/RISCVInstrInfoD.td
llvm/lib/Target/RISCV/RISCVInstrInfoF.td
llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td
llvm/test/CodeGen/RISCV/rv64d-double-convert.ll
llvm/test/CodeGen/RISCV/rv64f-float-convert.ll
llvm/test/CodeGen/RISCV/rv64f-half-convert.ll