Thumb1 does not support dynamic stack realignment.
authorChad Rosier <mcrosier@apple.com>
Sat, 15 Oct 2011 00:28:24 +0000 (00:28 +0000)
committerChad Rosier <mcrosier@apple.com>
Sat, 15 Oct 2011 00:28:24 +0000 (00:28 +0000)
commitd73462a1c9e9abae6d404c7830224814ef293f0d
tree5c639fe5ce033a97b93ca50e083a649fba804d54
parent918f2155e90613bcf222ac5499f845d231bdfd57
Thumb1 does not support dynamic stack realignment.
rdar://10288916 is tracking this fix.

In the past, instcombine and other passes were promoting alloca alignment past
the natural alignment, resulting in dynamic stack realignment.  Lang's work now
prevents this from happening (LLVM commit r141599).  Now that this really
shouldn't happen report a fatal error rather than silently generate bad code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142028 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/Thumb1FrameLowering.cpp