21 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc %s -verify-machineinstrs -mtriple aarch64-apple-darwin -global-isel -global-isel-abort=1 -frame-pointer=non-leaf -o - 2>&1 | FileCheck %s3 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: ; %entry8; CHECK-NEXT: b _zoo9entry:10 tail call void @zoo(i32 undef)11 ret void12}13 14define void @zoo(i32 %a) {15; CHECK-LABEL: zoo:16; CHECK: ; %bb.0: ; %entry17; CHECK-NEXT: ret18entry:19 ret void20}21