OSDN Git Service

[X86] Do not run shrink-wrapping on function with split-stack attribute or HiPE
authorQuentin Colombet <qcolombet@apple.com>
Tue, 19 Jan 2016 23:29:03 +0000 (23:29 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Tue, 19 Jan 2016 23:29:03 +0000 (23:29 +0000)
commit5a15c7dc2ceed39b9719b905f6a65283a3a55e0a
treed8615da1837ed6b3e05416d7a750b93d5b7e1a40
parent3ae6879978e96b129d458d286a0ebf169bdbc856
[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/trunk@258221 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FrameLowering.cpp
test/CodeGen/X86/x86-shrink-wrap-unwind.ll