Files
llvm-tms34010/llvm/test/Transforms/Inline/zero-cost.ll
T

19 lines
270 B
LLVM

; RUN: opt -passes=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
}