summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineFunctionAnalysis.cpp
diff options
context:
space:
mode:
authorMichael Kuperstein <michael.kuperstein@gmail.com>2016-03-10 18:43:21 +0000
committerMichael Kuperstein <michael.kuperstein@gmail.com>2016-03-10 18:43:21 +0000
commit8be8de6d622fda33b7dbbeb811bdecd2e1d1d404 (patch)
tree701258b5cf8bd2bd42e9792d7bee46d84e0b6589 /llvm/lib/CodeGen/MachineFunctionAnalysis.cpp
parentf0b1f09389b9d17f756bf13838dd6796b0620e64 (diff)
downloadbcm5719-llvm-8be8de6d622fda33b7dbbeb811bdecd2e1d1d404.tar.gz
bcm5719-llvm-8be8de6d622fda33b7dbbeb811bdecd2e1d1d404.zip
[X86] Correctly select registers to pop into for x86_64
When trying to replace an add to esp with pops, we need to choose dead registers to pop into. Registers clobbered by the call and not imp-def'd by it should be safe. Except that it's not enough to check the register itself isn't defined, we also need to make sure no overlapping registers are defined either. This fixes PR26711. Differential Revision: http://reviews.llvm.org/D18029 llvm-svn: 263139
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud