Merging r258221:
authorQuentin Colombet <qcolombet@apple.com>
Wed, 20 Jan 2016 01:14:03 +0000 (01:14 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Wed, 20 Jan 2016 01:14:03 +0000 (01:14 +0000)
commit870ff87d1cd25f9a2dd01d7c75489a63eca377c2
treee672d16bcf4c91f323c934df256001825e1249b5
parent90fef5a5b6514f60396e81d7fa20581d05ca659b
Merging r258221:
------------------------------------------------------------------------
r258221 | qcolombet | 2016-01-19 15:29:03 -0800 (Tue, 19 Jan 2016) | 8 lines

[X86] Do not run shrink-wrapping on function with split-stack attribute or HiPE
calling convention.
The implementation of the related callbacks in the x86 backend for such
functions are not ready to deal with a prologue block that is not the entry
block of the function.

This fixes PR26107, but the longer term solution would be to fix those callbacks.

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_38@258269 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FrameLowering.cpp
test/CodeGen/X86/x86-shrink-wrap-unwind.ll