]> granicus.if.org Git - llvm/commit
[MIPS GlobalISel] Select floating point to integer conversions
authorPetar Avramovic <Petar.Avramovic@rt-rk.com>
Thu, 20 Jun 2019 08:52:53 +0000 (08:52 +0000)
committerPetar Avramovic <Petar.Avramovic@rt-rk.com>
Thu, 20 Jun 2019 08:52:53 +0000 (08:52 +0000)
commite4d9699aa0cc2d9f48274029acb0e8e9d0ff90ae
treef2526527caaec40cdc9dbcbb420153286d49921d
parentb98f6099a5e639dbcf02486b6cbd7063d880ec26
[MIPS GlobalISel] Select floating point to integer conversions

Select G_FPTOSI and G_FPTOUI for MIPS32.

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

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