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
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
GlobalOpt
/
2009-02-15-ResolveAlias.ll
blob
ce7d4fcb8e25303db88164334646f832f8bbbfe7
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 (), void ()* @f
10
11
define hidden 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