mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
a62270de2c
The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. llvm-svn: 358552
25 lines
343 B
LLVM
25 lines
343 B
LLVM
; 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
|
|
}
|
|
|