summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2017-06-26 16:50:32 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2017-06-26 16:50:32 +0000
commitaf98b748f61e3ae3c9b0e3438805a7cbea824d7d (patch)
tree833774d1a8d67d4ad8929c17a40eb8384c7d0385 /clang/lib/Basic/SourceManager.cpp
parenteb8c0f9d5178bf0aa798a17e9fd9952305e751b2 (diff)
downloadbcm5719-llvm-af98b748f61e3ae3c9b0e3438805a7cbea824d7d.tar.gz
bcm5719-llvm-af98b748f61e3ae3c9b0e3438805a7cbea824d7d.zip
[SystemZ] Fix missing emergency spill slot corner case
We sometimes need emergency spill slots for the register scavenger. This may be the case when code needs to access a stack slot that has an offset of 4096 or more relative to the stack pointer. To make that determination, processFunctionBeforeFrameFinalized currently simply checks the total stack frame size of the current function. But this is not enough, since code may need to access stack slots in the caller's stack frame as well, in particular incoming arguments stored on the stack. This commit fixes the problem by taking argument slots into account. llvm-svn: 306305
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud