[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)
commit5d2f7cfd44db983c5c21d36356c3319d792a90bc
tree516d6364e8b823dcfa6d9c7915a950cae0c2f0cf
parent429183e7c8b93e8fcbad7741f87fc25d1cb94d51
[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.

llvm-svn: 255175
llvm/lib/Target/X86/X86FrameLowering.cpp
llvm/lib/Target/X86/X86FrameLowering.h
llvm/test/CodeGen/X86/avx-splat.ll
llvm/test/CodeGen/X86/tail-opts.ll
llvm/test/CodeGen/X86/x86-shrink-wrap-unwind.ll [new file with mode: 0644]