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