Eliminate the stack slot used to save the global base register.
authorAkira Hatanaka <ahatanaka@mips.com>
Wed, 25 Jul 2012 03:16:47 +0000 (03:16 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Wed, 25 Jul 2012 03:16:47 +0000 (03:16 +0000)
commitde4a1274706d7449870dac5bed05d27a6772d4ed
tree6ff9501f3a5b60ec713b3d099a7a8d725ca3af1e
parentd9fb65dee63c1b7be913d4ac79c00e7bb977e2f7
Eliminate the stack slot used to save the global base register.

The long branch pass (fixed in r160601) no longer uses the global base register
to compute addresses of branch destinations, so it is not necessary to reserve
a slot on the stack.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160703 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsFrameLowering.cpp
lib/Target/Mips/MipsISelDAGToDAG.cpp
lib/Target/Mips/MipsMachineFunction.h
lib/Target/Mips/MipsRegisterInfo.cpp
test/CodeGen/Mips/i64arg.ll
test/CodeGen/Mips/largeimmprinting.ll
test/CodeGen/Mips/o32_cc_byval.ll
test/CodeGen/Mips/o32_cc_vararg.ll