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
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
GlobalOpt
/
2009-02-15-ResolveAlias.ll
blob
0d5864286ec3a1c4c95de4941cfa5f06606c57f7
1
; RUN: opt < %s -passes=globalopt -S | FileCheck %s
2
3
define internal void @f() {
4
; CHECK-NOT: @f(
5
; CHECK: define dso_local void @a
6
ret void
7
}
8
9
@a = dso_local alias void (), ptr @f
10
11
define hidden void @g() {
12
call void() @a()
13
ret void
14
}
15
16
@b = internal alias void (), ptr @g
17
; CHECK-NOT: @b
18
19
define void @h() {
20
call void() @b()
21
; CHECK: call void @g
22
ret void
23
}
24