When the function is doing dynamic stack realignment, the spill slot will be
authorJim Grosbach <grosbach@apple.com>
Thu, 29 Oct 2009 02:33:47 +0000 (02:33 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 29 Oct 2009 02:33:47 +0000 (02:33 +0000)
commitf2ce516828ed6b04bad5132a13c8e228d9a0b117
tree2a05f31f50a446a1244f666bb457c5388aea0226
parentf7bb23f343792df7739be6bf3a1f693214e13f19
When the function is doing dynamic stack realignment, the spill slot will be
indexed via the stack pointer, even if a frame pointer is present. Update the
heuristic to place it nearest the stack pointer in that case, rather than
nearest the frame pointer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85474 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/PrologEpilogInserter.cpp