Make the following changes in MipsISelLowering.cpp:
authorAkira Hatanaka <ahatanaka@mips.com>
Sat, 12 May 2012 03:19:04 +0000 (03:19 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Sat, 12 May 2012 03:19:04 +0000 (03:19 +0000)
commit92d4aec5737cf81f08059bbc5c18f39d8c16c429
tree94d60b56b4cdb6644db1beb4a6224046587493c9
parent30cec40241d73fa274afeae7b7bac3632d344900
Make the following changes in MipsISelLowering.cpp:

- Stop creating stack frame objects needed for saving $gp.
- Insert a node that copies the global pointer register to register $gp
  before the call node. This will ensure $gp is valid at the entry of the
  called function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156692 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp