You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
343 B
25 lines
343 B
; RUN: opt < %s -globalopt -S | FileCheck %s
|
|
|
|
define internal void @f() {
|
|
; CHECK-NOT: @f(
|
|
; CHECK: define void @a
|
|
ret void
|
|
}
|
|
|
|
@a = alias void (), void ()* @f
|
|
|
|
define void @g() {
|
|
call void() @a()
|
|
ret void
|
|
}
|
|
|
|
@b = internal alias void (), void ()* @g
|
|
; CHECK-NOT: @b
|
|
|
|
define void @h() {
|
|
call void() @b()
|
|
; CHECK: call void @g
|
|
ret void
|
|
}
|
|
|