aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/Hexagon/sdata-array.ll
blob: 93241761d237e6577d49430d517f7fbd9b7e080a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llc -mtriple=hexagon < %s | FileCheck %s

; No arrays in sdata.
; CHECK: memb(##foo)

@foo = common global [4 x i8] zeroinitializer, align 1

define void @set(i8 %x) nounwind {
entry:
  store i8 %x, ptr @foo, align 1
  ret void
}