aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/TailCallElim/trivial_codegen_tailcall.ll
blob: 98c233255ea809a2ddff6b0588ec4e15704dd343 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; 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
}