[llvm-commits] [llvm-gcc-4.2] r72804 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

Duncan Sands baldrick at free.fr
Thu Jun 4 00:37:35 PDT 2009


Hi Bill,

>> I would have expected LLVM to give strings an alignment of 1.  Is that
>> not so?
>>
> No. At this point, before my patch, the alignment wasn't being set.  
> During code generation, it defaults (through a series of calls) to a  
> "preferred alignment" of 16 bytes.

maybe that's a bug?  16 byte alignment seems an awful lot for a string.

Ciao,

Duncan.



More information about the llvm-commits mailing list