aboutsummaryrefslogtreecommitdiffstats
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.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/CellSPU/bss.ll b/test/CodeGen/CellSPU/bss.ll
new file mode 100644
index 0000000..05a0f50
--- /dev/null
+++ b/test/CodeGen/CellSPU/bss.ll
@@ -0,0 +1,5 @@
+; RUN: llc < %s -march=cellspu > %t1.s
+; RUN: grep "\.section" %t1.s | grep "\.bss" | count 1
+
+@bssVar = global i32 zeroinitializer
+