[MIPS GlobalISel] Select indirect branch
commit8c3c7e3de966033765087c30f7ade971e5ad0789
authorPetar Avramovic <Petar.Avramovic@rt-rk.com>
Thu, 12 Sep 2019 11:44:36 +0000 (12 11:44 +0000)
committerPetar Avramovic <Petar.Avramovic@rt-rk.com>
Thu, 12 Sep 2019 11:44:36 +0000 (12 11:44 +0000)
tree38758bea1b8bde571d5d10482bd5a321e0a93eeb
parent1799976bb6fa3196f58185c8663642b77ac4eb86
[MIPS GlobalISel] Select indirect branch

Select G_BRINDIRECT for MIPS32.

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

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