[MIPS GlobalISel] Select floor and ceil
authorPetar Avramovic <Petar.Avramovic@rt-rk.com>
Thu, 6 Jun 2019 09:02:24 +0000 (09:02 +0000)
committerPetar Avramovic <Petar.Avramovic@rt-rk.com>
Thu, 6 Jun 2019 09:02:24 +0000 (09:02 +0000)
commitfaaa2b5d2156271d19603ebedfa80f10c3703d7f
treeb93b77734a0eb3ca73b9450573c2dee3d7b2ce06
parent7cc580f5e95e7e5dd84db2c276f58709258cd120
[MIPS GlobalISel] Select floor and ceil

Select G_FFLOOR and G_FCEIL for MIPS32.

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

llvm-svn: 362688
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/lib/Target/Mips/MipsLegalizerInfo.cpp
llvm/test/CodeGen/Mips/GlobalISel/legalizer/ceil_and_floor.mir [new file with mode: 0644]
llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/ceil_and_floor.ll [new file with mode: 0644]