blob: 31e036fe65affc4b403cd07e02e23ac80705eff0 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as | opt -inline | llvm-dis | not grep tail
2
3implementation
4
5declare void %bar(int*)
6
7internal void %foo(int* %P) { ;; to be inlined
8 tail call void %bar(int* %P)
9 ret void
10}
11
12void %caller() {
13 %A = alloca int
14 call void %foo(int* %A) ;; not a tail call
15 ret void
16}