summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorMichael Kuperstein <michael.m.kuperstein@intel.com>2015-09-16 11:18:25 +0000
committerMichael Kuperstein <michael.m.kuperstein@intel.com>2015-09-16 11:18:25 +0000
commit098cd9fba73c25a23157049b19b16c84d39a0c6a (patch)
tree7ed96b63a159c2b36e3c72a11712d4a11f3636cd /llvm/lib/CodeGen/LLVMTargetMachine.cpp
parent11bb848ddcd632f13c5e8413bd452e9c064047dd (diff)
downloadbcm5719-llvm-098cd9fba73c25a23157049b19b16c84d39a0c6a.tar.gz
bcm5719-llvm-098cd9fba73c25a23157049b19b16c84d39a0c6a.zip
[X86] Fix emitEpilogue() to make less assumptions about pops
This is the mirror image of r242395. When X86FrameLowering::emitEpilogue() looks for where to insert the %esp addition that deallocates stack space used for local allocations, it assumes that any sequence of pop instructions from function exit backwards consists purely of restoring callee-save registers. This may be false, since from some point backward, the pops may be clean-up of stack space allocated for arguments to a call. Patch by: amjad.aboud@intel.com Differential Revision: http://reviews.llvm.org/D12688 llvm-svn: 247784
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud