[LLVMdev] Patch - SPU bss alignment

Chris Lattner clattner at apple.com
Fri Apr 9 11:28:00 PDT 2010


On Apr 7, 2010, at 2:48 AM, Kalle Raiskila wrote:

> Hi,
> 
> On SPU, variables in the .bss section that are allocated with the .lcomm directive are not aligned on 16 byte boundaries. This causes misaligned loads, as the generated assembly assumes this "default" alignment.
> 
> A patch to disable .lcomm in favour of '.local .comm' is attached.

Applied in r100875, thanks!

-Chris



More information about the llvm-dev mailing list