mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-15 01:46:46 +00:00

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316228 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
295 B
LLVM
14 lines
295 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(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
|
|
}
|
|
|