[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / CodeGen / AArch64 / arm64-elf-calls.ll
blob8c4020327b919082a4266eca3a86b8936f1965cd
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
4 declare void @callee()
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
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