mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-18 13:16:24 -04:00
598198edbc
The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358552 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
263 B
LLVM
19 lines
263 B
LLVM
; RUN: opt -inline -S %s | FileCheck %s
|
|
; RUN: opt -passes='cgscc(inline)' -S %s | FileCheck %s
|
|
|
|
define void @f() {
|
|
entry:
|
|
tail call void @g()
|
|
unreachable
|
|
|
|
; CHECK-LABEL: @f
|
|
; CHECK-NOT: call
|
|
; CHECK: unreachable
|
|
}
|
|
|
|
define void @g() {
|
|
entry:
|
|
unreachable
|
|
}
|
|
|