- If a dynamic_stackalloc alignment requirement is <= stack alignment, then the align...
authorEvan Cheng <evan.cheng@apple.com>
Thu, 16 Aug 2007 23:46:29 +0000 (23:46 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 16 Aug 2007 23:46:29 +0000 (23:46 +0000)
commit4515779fa39481649780bdd24fc966e89ec76edf
tree52923cabdcf510440528e3c1e6496f3f38ecd38e
parent1defe2df5d563e519ae5dd6c19d9519f0abddbfc
- If a dynamic_stackalloc alignment requirement is <= stack alignment, then the alignment argument is ignored.
- *Always* round up the size of the allocation to multiples of stack
alignment to ensure the stack ptr is never left in an invalid state after a dynamic_stackalloc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41132 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp