[X86] Enable shrink-wrapping by default, but keep it disabled for stack frames
authorQuentin Colombet <qcolombet@apple.com>
Wed, 9 Dec 2015 23:08:18 +0000 (23:08 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Wed, 9 Dec 2015 23:08:18 +0000 (23:08 +0000)
commitd110e2b4a3b6f443997ddb23fdb98020f28f84d2
tree92f2783023242239cb82465698400b015462104f
parent28e18e17826176dbe070907fe2c1f46ff14649b3
[X86] Enable shrink-wrapping by default, but keep it disabled for stack frames
without a frame pointer when unwind may happen.
This is a workaround for a bug in the way we emit the CFI directives for
frameless unwind information. See PR25614.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255175 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FrameLowering.cpp
lib/Target/X86/X86FrameLowering.h
test/CodeGen/X86/avx-splat.ll
test/CodeGen/X86/tail-opts.ll
test/CodeGen/X86/x86-shrink-wrap-unwind.ll [new file with mode: 0644]