[MIPS GlobalISel] Select G_UMULH
commit9a34d638138c939dd3ac24b874b2ecd5ba364ad4
authorPetar Avramovic <Petar.Avramovic@rt-rk.com>
Fri, 1 Mar 2019 07:25:44 +0000 (1 07:25 +0000)
committerPetar Avramovic <Petar.Avramovic@rt-rk.com>
Fri, 1 Mar 2019 07:25:44 +0000 (1 07:25 +0000)
treec003418b28343acaddf07129d4955cd693f13025
parent4eea99f47949281e347e630b128d89f5b86f36b2
[MIPS GlobalISel] Select G_UMULH

Legalize G_UMULO and select G_UMULH for MIPS32.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355177 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/mul.mir
test/CodeGen/Mips/GlobalISel/legalizer/mul.mir
test/CodeGen/Mips/GlobalISel/llvm-ir/mul.ll
test/CodeGen/Mips/GlobalISel/regbankselect/mul.mir