llvm-project/llvm/test/Transforms/TailCallElim/trivial_codegen_tailcall.ll

12 lines
168 B
LLVM

; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | \
; RUN: grep {tail call void @foo}
declare void @foo()
define void @bar() {
call void @foo( )
ret void
}