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

Chad Rosier mcrosier at apple.com
Mon Jul 2 13:24:45 PDT 2012


Sorry, this should have gone to cfe-commits (but feel free to comment).

On Jul 2, 2012, at 1:19 PM, 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.  For example, the vector_size attribute infers the alignment to be the size of the vector unless explicitly set.  I've also added a warning to inform a user  when the target is enforcing a max alignment less then what they've explicitly requested.  Please let me know what you think..
> 
> Chad
> 
> <target-attr-max-aligned.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list