Eric Christopher | cee313d | 2019-04-17 04:52:47 +0000 | [diff] [blame] | 1 | ; RUN: opt -inline -S %s | FileCheck %s |
2 | ; RUN: opt -passes='cgscc(inline)' -S %s | FileCheck %s | ||||
3 | |||||
4 | define void @f() { | ||||
5 | entry: | ||||
6 | tail call void @g() | ||||
7 | unreachable | ||||
8 | |||||
9 | ; CHECK-LABEL: @f | ||||
10 | ; CHECK-NOT: call | ||||
11 | ; CHECK: unreachable | ||||
12 | } | ||||
13 | |||||
14 | define void @g() { | ||||
15 | entry: | ||||
16 | unreachable | ||||
17 | } | ||||
18 |