[X86] Make sure the prologue does not clobber EFLAGS when it lives accross it.
authorQuentin Colombet <qcolombet@apple.com>
Wed, 2 Dec 2015 01:22:54 +0000 (01:22 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Wed, 2 Dec 2015 01:22:54 +0000 (01:22 +0000)
commit327823045115e7df540f8ed7f1871c432305066f
tree9bff99509e7a6076c3570c8e78d7239eda69d792
parent6837bcf91183ed877d02ecd1d78a4a56c957a1f9
[X86] Make sure the prologue does not clobber EFLAGS when it lives accross it.

This is a superset of the fix done in r254448.

This fixes PR25607.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254478 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FrameLowering.cpp
test/CodeGen/X86/i386-shrink-wrapping.ll [new file with mode: 0644]