summaryrefslogtreecommitdiffstats
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.ll10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/CodeGen/CellSPU/bss.ll b/test/CodeGen/CellSPU/bss.ll
index 05a0f50..327800d 100644
--- a/test/CodeGen/CellSPU/bss.ll
+++ b/test/CodeGen/CellSPU/bss.ll
@@ -1,5 +1,11 @@
-; RUN: llc < %s -march=cellspu > %t1.s
-; RUN: grep "\.section" %t1.s | grep "\.bss" | count 1
+; 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
OpenPOWER on IntegriCloud