2 ; RUN: llvm-as < %s | llc -march=x86 -enable-x86-fastcc | grep 'jmp \*%ecx'
3 declare int %putchar(int)
6 %f = cast int (int, int*, int)* %check_tail to int*
7 %res = tail call fastcc int %check_tail( int 10, int* %f,int 10)
11 fastcc int %check_tail(int %x, int* %f, int %g) {
12 %tmp1 = setgt int %x, 0
13 br bool %tmp1, label %if-then, label %if-else
16 %fun_ptr = cast int* %f to int(int, int*, int)*
17 %arg1 = add int %x, -1
18 call int %putchar(int 90)
19 %res = tail call fastcc int %fun_ptr( int %arg1, int * %f, int %g)