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

12 lines
154 B
LLVM
Raw Normal View History

; RUN: opt < %s -tailcallelim -S | FileCheck %s
declare void @foo()
define void @bar() {
; CHECK: tail call void @foo()
call void @foo()
ret void
}