aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/TailCallElim/trivial_codegen_tailcall.ll
blob: 7049e4d588d43b612c385ba93e4202c0668e7bbb (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: opt < %s -tailcallelim -S | FileCheck %s


declare void @foo()

define void @bar() {
; CHECK: tail call void @foo()
	call void @foo()
	ret void
}