xref: /aosp_15_r20/external/llvm/test/Transforms/Inline/zero-cost.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: opt -inline -S %s | FileCheck %s
2
3define void @f() {
4entry:
5  tail call void @g()
6  unreachable
7
8; CHECK-LABEL: @f
9; CHECK-NOT: call
10; CHECK: unreachable
11}
12
13define void @g() {
14entry:
15  unreachable
16}
17
18