repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
ARM
/
private.ll
blob
2326889a09dbbeb54dbd9376dd395601d9012172
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, ptr @baz, align 4
19
ret i32 %1
20
}
21