[X86] Implement the support for shrink-wrapping.
authorQuentin Colombet <qcolombet@apple.com>
Wed, 27 May 2015 06:28:41 +0000 (06:28 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Wed, 27 May 2015 06:28:41 +0000 (06:28 +0000)
commit60c91c28e4d2f49c3eaac1b20125854baa8d4c7c
treecde450b8a08b5c14d2fe9abbbc89c199387e6c11
parentbdfc11784badbc820208343ac2bceb41b30e7640
[X86] Implement the support for shrink-wrapping.
With this patch the x86 backend is now shrink-wrapping capable
and this functionality can be tested by using the
-enable-shrink-wrap switch.

The next step is to make more test and enable shrink-wrapping by
default for x86.

Related to <rdar://problem/20821487>

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