projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Refactor AnalyzeBranch on ARM. The previous version did not always analyze
[oota-llvm.git]
/
test
/
CodeGen
/
ARM
/
private.ll
1
; Test to make sure that the 'private' is used correctly.
2
;
3
; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s
4
; CHECK: .Lfoo:
5
; CHECK-LABEL: bar:
6
; CHECK: bl .Lfoo
7
; CHECK: .long .Lbaz
8
; CHECK: .Lbaz:
9
10
define private void @foo() {
11
ret void
12
}
13
14
@baz = private global i32 4
15
16
define i32 @bar() {
17
call void @foo()
18
%1 = load i32* @baz, align 4
19
ret i32 %1
20
}
21