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
[llvm-dlltool] Respect NONAME keyword
[llvm-complete.git]
/
test
/
Transforms
/
GlobalOpt
/
2009-02-15-ResolveAlias.ll
blob
42c243d9d7c0ecec28e0a56307ef326e7d2279d1
1
; RUN: opt < %s -globalopt -S | FileCheck %s
2
3
define internal void @f() {
4
; CHECK-NOT: @f(
5
; CHECK: define void @a
6
ret void
7
}
8
9
@a = alias void (), void ()* @f
10
11
define void @g() {
12
call void() @a()
13
ret void
14
}
15
16
@b = internal alias void (), void ()* @g
17
; CHECK-NOT: @b
18
19
define void @h() {
20
call void() @b()
21
; CHECK: call void @g
22
ret void
23
}
24