Add basic ability to setup call frame, and make procedure calls.
authorAkira Hatanaka <ahatanaka@mips.com>
Mon, 23 Jul 2012 23:45:54 +0000 (23:45 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Mon, 23 Jul 2012 23:45:54 +0000 (23:45 +0000)
commit3ee306cbc0a295409c464ffaad5ef694de8eb09a
tree0f0cb3e4eac9c89a2931eeb2bfc7e6c8a5615e1a
parent581a739226381450ea2271cc794618043b6aeb4a
Add basic ability to setup call frame, and make procedure calls.
Hello world will compile and execute with this patch.

Patch by Reed Kotler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160651 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/Mips16InstrFormats.td
lib/Target/Mips/Mips16InstrInfo.td
lib/Target/Mips/MipsFrameLowering.cpp
lib/Target/Mips/MipsISelDAGToDAG.cpp
lib/Target/Mips/MipsISelLowering.cpp
lib/Target/Mips/MipsInstrInfo.cpp
lib/Target/Mips/MipsInstrInfo.h
lib/Target/Mips/MipsMachineFunction.cpp
test/CodeGen/Mips/helloworld_call.ll [new file with mode: 0644]
test/CodeGen/Mips/helloworld_pe.ll [new file with mode: 0644]
test/CodeGen/Mips/helloworld_sr.ll [new file with mode: 0644]