OSDN Git Service

"On SPU, variables in the .bss section that are allocated with the .lcomm directive...
authorChris Lattner <sabre@nondot.org>
Fri, 9 Apr 2010 18:27:03 +0000 (18:27 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 9 Apr 2010 18:27:03 +0000 (18:27 +0000)
commitdc8446330f54aefff0f35784cd3346ec78d7d335
treeb7affd025d5f2cbb214747d83b4070acd3832c34
parent53b73a283e0a0339f7a273775ee21ebcc220b089
"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.

this patch disables .lcomm in favour of '.local .comm'

Patch by Kalle Raisklia!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100875 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/CellSPU/SPUMCAsmInfo.cpp
test/CodeGen/CellSPU/bss.ll