[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)
commitaa8020752ef813a4dd07d11733589e3ae036984d
tree810d2f9ee51e9cbf30980d9949dc75d272146d9f
parent8083588a7eaedef8b8ec02cae37aefdaa3847355
[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>

llvm-svn: 238293
llvm/lib/Target/X86/X86ExpandPseudo.cpp
llvm/lib/Target/X86/X86FrameLowering.cpp
llvm/lib/Target/X86/X86FrameLowering.h
llvm/test/CodeGen/X86/x86-shrink-wrapping.ll [new file with mode: 0644]