[MIPS GlobalISel] Adding GlobalISel
authorPetar Jovanovic <petar.jovanovic@mips.com>
Fri, 23 Feb 2018 11:06:40 +0000 (11:06 +0000)
committerPetar Jovanovic <petar.jovanovic@mips.com>
Fri, 23 Feb 2018 11:06:40 +0000 (11:06 +0000)
commitfac93e28f066b6a25b480c0d4334f94473ea1571
treedaa696312dda8de6c1bbe32fc1437d203e18dc0a
parentdb1a06244758537fe831a680ce2b1aedcafafe23
[MIPS GlobalISel] Adding GlobalISel

Add GlobalISel infrastructure up to the point where we can select a ret
void.

Patch by Petar Avramovic.

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

llvm-svn: 325888
15 files changed:
llvm/lib/Target/Mips/CMakeLists.txt
llvm/lib/Target/Mips/LLVMBuild.txt
llvm/lib/Target/Mips/Mips.h
llvm/lib/Target/Mips/MipsCallLowering.cpp [new file with mode: 0644]
llvm/lib/Target/Mips/MipsCallLowering.h [new file with mode: 0644]
llvm/lib/Target/Mips/MipsInstructionSelector.cpp [new file with mode: 0644]
llvm/lib/Target/Mips/MipsLegalizerInfo.cpp [new file with mode: 0644]
llvm/lib/Target/Mips/MipsLegalizerInfo.h [new file with mode: 0644]
llvm/lib/Target/Mips/MipsRegisterBankInfo.cpp [new file with mode: 0644]
llvm/lib/Target/Mips/MipsRegisterBankInfo.h [new file with mode: 0644]
llvm/lib/Target/Mips/MipsSubtarget.cpp
llvm/lib/Target/Mips/MipsSubtarget.h
llvm/lib/Target/Mips/MipsTargetMachine.cpp
llvm/test/CodeGen/Mips/GlobalISel/irtranslator/ret.ll [new file with mode: 0644]
llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/ret.ll [new file with mode: 0644]