xref: /llvm-project/llvm/test/CodeGen/Hexagon/sdata-array.ll (revision 2208c97c1bec2512d4e47b6223db6d95a7037956)
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s
2
3; No arrays in sdata.
4; CHECK: memb(##foo)
5
6@foo = common global [4 x i8] zeroinitializer, align 1
7
8define void @set(i8 %x) nounwind {
9entry:
10  store i8 %x, ptr @foo, align 1
11  ret void
12}
13
14