[MIPS GlobalISel] Select phi instruction for integers
commit2f4f03c02deab95efce1bc15f63bbcd535fc9fd2
authorPetar Avramovic <Petar.Avramovic@rt-rk.com>
Thu, 14 Feb 2019 12:36:19 +0000 (14 12:36 +0000)
committerPetar Avramovic <Petar.Avramovic@rt-rk.com>
Thu, 14 Feb 2019 12:36:19 +0000 (14 12:36 +0000)
tree6451f0636e3b78913117f93ec3ba6f93f39d7909
parentead41aa077f14705fa2d660444ff2b11888e8af4
[MIPS GlobalISel] Select phi instruction for integers

Select G_PHI for integers for MIPS32.

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

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