blob: cea86bd426d95f72bc371b9bc04324cce6f24f1a [file] [log] [blame]
; RUN: llc -march=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, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @foo, i32 0, i32 0), align 1
ret void
}