repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Silence -Wunused-variable in release builds.
[llvm/stm8.git]
/
test
/
CodeGen
/
ARM
/
hidden-vis-2.ll
blob
90f5308d5ff01b3de227fcf6ddb412d3bd194f50
1
; RUN: llc < %s -mtriple=arm-apple-darwin | FileCheck %s
2
3
@x = weak hidden global i32 0 ; <i32*> [#uses=1]
4
5
define i32 @t() nounwind readonly {
6
entry:
7
; CHECK: t:
8
; CHECK: ldr
9
; CHECK-NEXT: ldr
10
%0 = load i32* @x, align 4 ; <i32> [#uses=1]
11
ret i32 %0
12
}