[llvm-commits] PATCH: Add support for building a suitably aligned character array

Chandler Carruth chandlerc at gmail.com
Fri Jun 15 16:27:57 PDT 2012


This patch adds compiler hackery to build up a character array which has
suitable alignment for any of a 4 different types. The choice of 4 was
completely arbitrary, I could probably get away with 2 if folks care.

Asking Nick to review as he has worked very closely on this type of code,
and in fact much of this code was borrowed from stuff he has written before.
-Chandler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120615/67825abe/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aligned-buffer.patch
Type: application/octet-stream
Size: 4735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120615/67825abe/attachment.obj>


More information about the llvm-commits mailing list