[cfe-commits] [PATCH] Target specific max stack alignment
Chad Rosier
mcrosier at apple.com
Mon Jul 2 13:25:32 PDT 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: target-attr-max-aligned.patch
Type: application/octet-stream
Size: 8623 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120702/1c97eb1e/attachment.obj>
More information about the cfe-commits
mailing list