1; RUN: llc < %s -mtriple=x86_64-apple-darwin -tailcallopt -fast-isel -fast-isel-abort | FileCheck %s
2
3%0 = type { i64, i32, i8* }
4
5define fastcc i8* @"visit_array_aux<`Reference>"(%0 %arg, i32 %arg1) nounwind {
6fail:                                             ; preds = %entry
7  %tmp20 = tail call fastcc i8* @"visit_array_aux<`Reference>"(%0 %arg, i32 undef) ; <i8*> [#uses=1]
8; CHECK: jmp "_visit_array_aux<`Reference>" ## TAILCALL
9  ret i8* %tmp20
10}
11
12define i32 @foo() nounwind {
13entry:
14 %0 = tail call i32 (...)* @bar() nounwind       ; <i32> [#uses=1]
15 ret i32 %0
16}
17
18declare i32 @bar(...) nounwind
19