repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
CodeGen
/
ARM
/
hidden-vis-2.ll
blob
6cf69aa486d5cd41b3d0954870df10d947db0341
1
; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | grep ldr | count 2
2
3
@x = weak hidden global i32 0 ; <i32*> [#uses=1]
4
5
define i32 @t() nounwind readonly {
6
entry:
7
%0 = load i32* @x, align 4 ; <i32> [#uses=1]
8
ret i32 %0
9
}