1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py 2; RUN: llc %s -verify-machineinstrs -mtriple aarch64-apple-darwin -global-isel -global-isel-abort=1 -frame-pointer=non-leaf -o - 2>&1 | FileCheck %s 3 4; Check that we get a tail call to foo without saving fp/lr. 5define void @bar(i32 %a) { 6; CHECK-LABEL: bar: 7; CHECK: ; %bb.0: ; %entry 8; CHECK-NEXT: b _zoo 9entry: 10 tail call void @zoo(i32 undef) 11 ret void 12} 13 14define void @zoo(i32 %a) { 15; CHECK-LABEL: zoo: 16; CHECK: ; %bb.0: ; %entry 17; CHECK-NEXT: ret 18entry: 19 ret void 20} 21