]> granicus.if.org Git - llvm/commit
[MIPS GlobalISel] Select integer to floating point conversions
authorPetar Avramovic <Petar.Avramovic@rt-rk.com>
Thu, 20 Jun 2019 09:05:02 +0000 (09:05 +0000)
committerPetar Avramovic <Petar.Avramovic@rt-rk.com>
Thu, 20 Jun 2019 09:05:02 +0000 (09:05 +0000)
commit106150662015562956a3a24d0ddfa9c6b7f60384
treedb64c93c91bafa4015327a407e6676b669cc6f2c
parente4d9699aa0cc2d9f48274029acb0e8e9d0ff90ae
[MIPS GlobalISel] Select integer to floating point conversions

Select G_SITOFP and G_UITOFP for MIPS32.

Differential Revision: https://reviews.llvm.org/D63542

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363912 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
lib/Target/Mips/MipsLegalizerInfo.cpp
lib/Target/Mips/MipsRegisterBankInfo.cpp
test/CodeGen/Mips/GlobalISel/instruction-select/sitofp_and_uitofp.mir [new file with mode: 0644]
test/CodeGen/Mips/GlobalISel/legalizer/sitofp_and_uitofp.mir [new file with mode: 0644]
test/CodeGen/Mips/GlobalISel/llvm-ir/sitofp_and_uitofp.ll [new file with mode: 0644]
test/CodeGen/Mips/GlobalISel/regbankselect/sitofp_and_uitofp.mir [new file with mode: 0644]