summaryrefslogtreecommitdiffstats
path: root/test/Transforms/TailCallElim/trivial_codegen_tailcall.ll
blob: 90a8163ee3213e17ffc52deaea2f436b76657fc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as < %s | opt -tailcallelim | llvm-dis | \
; RUN:    grep {tail call void @foo}


declare void @foo()

define void @bar() {
	call void @foo( )
	ret void
}

OpenPOWER on IntegriCloud