llvm-6502/test/Transforms/TailCallElim/trivial_codegen_tailcall.ll
2006-12-02 04:23:10 +00:00

12 lines
164 B
LLVM

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