repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
CodeGen
/
Hexagon
/
sdata-array.ll
blob
cea86bd426d95f72bc371b9bc04324cce6f24f1a
1
; RUN: llc -march=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
8
define void @set(i8 %x) nounwind {
9
entry:
10
store i8 %x, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @foo, i32 0, i32 0), align 1
11
ret void
12
}
13