[llvm-commits] [PATCH] Target specific max stack alignment

Joerg Sonnenberger joerg at britannica.bec.de
Tue Jul 3 00:58:18 PDT 2012


On Mon, Jul 02, 2012 at 01:19:14PM -0700, Chad Rosier wrote:
> All,
> The attached patch allows targets to specify a max stack alignment.
> The goal is to prevent wasted stack space when locals are over aligned.

I can think of valid reasons for forcing stack alignment of variables
larger than what the CPU requires. As such, I don't really like this.

Joerg



More information about the llvm-commits mailing list