summaryrefslogtreecommitdiff
path: root/test/CodeGen/CellSPU/bss.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CellSPU/bss.ll')
-rw-r--r--test/CodeGen/CellSPU/bss.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/CellSPU/bss.ll b/test/CodeGen/CellSPU/bss.ll
new file mode 100644
index 00000000000..327800d09cb
--- /dev/null
+++ b/test/CodeGen/CellSPU/bss.ll
@@ -0,0 +1,11 @@
+; RUN: llc < %s -march=cellspu | FileCheck %s
+
+@bssVar = global i32 zeroinitializer
+; CHECK: .section .bss
+; CHECK-NEXT: .globl
+
+@localVar= internal global i32 zeroinitializer
+; CHECK-NOT: .lcomm
+; CHECK: .local
+; CHECK-NEXT: .comm
+