Better handle alignment requirements for local objects in pre-regalloc frame
authorJim Grosbach <grosbach@apple.com>
Mon, 16 Aug 2010 22:30:41 +0000 (22:30 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 16 Aug 2010 22:30:41 +0000 (22:30 +0000)
commit4861ed60ac68a543d1b88e631e9fe2c55583b24b
tree0ce9c25e7e4d248c84ec8812633af7636e7867eb
parentdc66edaced5dacb56f06f52723dd340d5cfe4eab
Better handle alignment requirements for local objects in pre-regalloc frame
mapping. Have the local block track its alignment requirement, and then
apply that when the block itself is allocated. Previously, offsets could
get adjusted in PEI to be different, relative to one another, than the
block allocation thought they would be, which defeats the point of doing
the allocation this way. Continuing rdar://8277890

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111197 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineFrameInfo.h
lib/CodeGen/LocalStackSlotAllocation.cpp
lib/CodeGen/PrologEpilogInserter.cpp