Simplify offset calculation of stack frame objects for $gp restore location and
authorAkira Hatanaka <ahatanak@gmail.com>
Tue, 24 May 2011 00:23:52 +0000 (00:23 +0000)
committerAkira Hatanaka <ahatanak@gmail.com>
Tue, 24 May 2011 00:23:52 +0000 (00:23 +0000)
commitb4d8d31e59b11e7a4d560c01377ce02f1245f056
tree590d197cd48960e4c297ec94a01c13975064cf76
parenta9b324be9ca4a1f46d1ddf39ea0f6b6bbec86ae9
Simplify offset calculation of stack frame objects for $gp restore location and
variable arguments in LowerCall and LowerFormalArguments. This should also fix
the bug in which handling of variable arguments is incorrect when the front-end
optimizes away unused fixed arguments.

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