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.
19 lines
263 B
19 lines
263 B
4 months ago
|
; 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
|
||
|
}
|
||
|
|