[cfe-commits] [PATCH] Target specific max vector alignment

Chad Rosier mcrosier at apple.com
Fri Jul 6 13:14:02 PDT 2012


All,
Attached is a patch that enables a per target max vector alignment field (e.g., 32-byte alignment for x86 due to AVX).  Currently, if no aligned attribute is specified the alignment of a vector is inferred from its size.  Thus, very large vectors will be over-aligned with no benefit.  With this patch in place the alignment will be the lesser of the size of the vector and the target max alignment unless an aligned attribute is used.

 Chad

-------------- next part --------------
A non-text attachment was scrubbed...
Name: target_max_vector_alignment.patch
Type: application/octet-stream
Size: 4313 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120706/2c96ecc7/attachment.obj>


More information about the cfe-commits mailing list