[MIPS GlobalISel] Select mul
commit9c700dc2f04b9b7d9f20ea338ee5cbed734d7335
authorPetar Avramovic <Petar.Avramovic@rt-rk.com>
Fri, 8 Feb 2019 10:11:33 +0000 (8 10:11 +0000)
committerPetar Avramovic <Petar.Avramovic@rt-rk.com>
Fri, 8 Feb 2019 10:11:33 +0000 (8 10:11 +0000)
tree37415dc9d9eab23b761f840075c07873f293fe8f
parent3848beff589e95d4b1bd9752216d15fd16619bc2
[MIPS GlobalISel] Select mul

Legalize and select G_MUL for s32 and smaller types for MIPS32.

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

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