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

12 lines
150 B
LLVM
Raw Normal View History

; RUN: opt < %s -tailcallelim -S | \
; RUN: grep "tail call void @foo"
2005-05-10 08:33:36 +08:00
declare void @foo()
2005-05-10 08:33:36 +08:00
define void @bar() {
call void @foo( )
2005-05-10 08:33:36 +08:00
ret void
}