Default stack alignment for 32bit x86 should be 4 Bytes, not 8 Bytes.
authorJoerg Sonnenberger <joerg@bec.de>
Tue, 10 Jan 2012 22:43:53 +0000 (22:43 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Tue, 10 Jan 2012 22:43:53 +0000 (22:43 +0000)
commit216f63702fabd57ac570feebc56005b2a5cb3216
treec70b876cc57e4768c26e3b722cef1ecc08eaaabe
parent19d0bf3a9273d337b776ca33c284fd2b5da485ab
Default stack alignment for 32bit x86 should be 4 Bytes, not 8 Bytes.
Add a test that checks the stack alignment of a simple function for
Darwin, Linux and NetBSD for 32bit and 64bit mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147888 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86Subtarget.cpp
test/CodeGen/X86/stack-align2.ll [new file with mode: 0644]