Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / test / CodeGen / AArch64 / arm64-elf-calls.ll
blobeb6655951878b4b60dadbba29d63009eae58c4c1
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