1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/CodeGen/Hexagon/sdata-array.ll
2016-04-21 18:56:45 +00:00

14 lines
289 B
LLVM

; 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() nounwind {
entry:
store i8 0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @foo, i32 0, i32 0), align 1
ret void
}