[llvm-commits] [PATCH] Fix default stack alignment on i386

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Tue Jan 10 11:53:33 PST 2012

On 10/01/12 11:51 AM, Joerg Sonnenberger wrote:
> Hi all,
> the SYSV ABI says the stack alignment of i386 is 32bit, not 64bit.
> The attached patch fixes the default. Comments? 

I have checked that linux still sets the alignment explicitly to 16. The
if also covers freebsd, solaris and darwin.

At the very least the patch needs a test for the architectures you know
4 should be the default alignment.

> This is PR 11725.
> Joerg


More information about the llvm-commits mailing list