repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Adjust how NEON shifts are lowered
[llvm-core.git]
/
test
/
Transforms
/
GlobalOpt
/
2009-03-06-Anonymous.ll
blob
d5836ea9254a96901084e9e163d68867fd87722d
1
; RUN: opt < %s -globalopt -S | FileCheck %s
2
3
@0 = global i32 0
4
; CHECK-DAG: @0 = internal global i32 0
5
6
@1 = private global i32 0
7
; CHECK-DAG: @1 = private global i32 0
8
9
define i32* @2() {
10
ret i32* @0
11
}
12
; CHECK-DAG: define internal fastcc i32* @2()
13
14
define i32* @f() {
15
entry:
16
call i32* @2()
17
ret i32* %0
18
}
19
20
define i32* @g() {
21
entry:
22
ret i32* @1
23
}