forked from OSchip/llvm-project
18 lines
207 B
LLVM
18 lines
207 B
LLVM
|
; RUN: opt -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
|
||
|
}
|
||
|
|