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
[ARM] Cortex-M4 schedule additions
[llvm-complete.git]
/
test
/
CodeGen
/
ARM
/
private.ll
blob
fab8f37f989aadf70849b30dc4adb6640601b20d
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, i32* @baz, align 4
19
ret i32 %1
20
}
21