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

13 lines
176 B
LLVM

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