OSDN Git Service

Temporarily revert r158087.
authorChandler Carruth <chandlerc@gmail.com>
Mon, 18 Jun 2012 07:03:12 +0000 (07:03 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 18 Jun 2012 07:03:12 +0000 (07:03 +0000)
commit43369249e7c2be91535e3ef900673e6116a953de
tree9fd4932e9f1dd91e12b1f1f2ec4f1e8bc6458bcb
parent1b9d890455336e1bd2828c42bdc9e1f5347dad6f
Temporarily revert r158087.

This patch causes problems when both dynamic stack realignment and
dynamic allocas combine in the same function. With this patch, we no
longer build the epilog correctly, and silently restore registers from
the wrong position in the stack.

Thanks to Matt for tracking this down, and getting at least an initial
test case to Chad. I'm going to try to check a variation of that test
case in so we can easily track the fixes required.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158654 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FrameLowering.cpp
lib/Target/X86/X86RegisterInfo.cpp
lib/Target/X86/X86RegisterInfo.h
test/CodeGen/X86/alloca-align-rounding-32.ll
test/CodeGen/X86/alloca-align-rounding.ll
test/CodeGen/X86/dynamic-allocas-VLAs.ll [deleted file]