2 ; RUN: %lli -jit-kind=mcjit %s
4 ; XFAIL: target={{i686.*windows.*}}
7 %res = tail call fastcc i32 @check_tail( i32 10, ptr @check_tail, i32 10 ) ; <i32> [#uses=1]
11 define fastcc i32 @check_tail(i32 %x, ptr %f, i32 %g) {
12 %tmp1 = icmp sgt i32 %x, 0 ; <i1> [#uses=1]
13 br i1 %tmp1, label %if-then, label %if-else
15 %arg1 = add i32 %x, -1 ; <i32> [#uses=1]
16 %res = tail call fastcc i32 %f( i32 %arg1, ptr %f, i32 %g ) ; <i32> [#uses=1]