1 ; RUN: llc -mtriple=arm64-linux-gnu -o - %s | FileCheck %s 2 ; RUN: llc -mtriple=arm64-linux-gnu -filetype=obj -o - %s | llvm-objdump -triple=arm64-linux-gnu - -r | FileCheck %s --check-prefix=CHECK-OBJ 3 4 declare void @callee() 5 6 define void @caller() { 7 call void @callee() 8 ret void 9 ; CHECK-LABEL: caller: 10 ; CHECK: bl callee 11 ; CHECK-OBJ: R_AARCH64_CALL26 callee 12 } 13 14 define void @tail_caller() { 15 tail call void @callee() 16 ret void 17 ; CHECK-LABEL: tail_caller: 18 ; CHECK: b callee 19 ; CHECK-OBJ: R_AARCH64_JUMP26 callee 20 } 21