Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / test / CodeGen / AArch64 / xray-partial-instrumentation-skip-entry.ll
blob97717d6e2fc8c3c8828ae3fe71e4607037d44bcb
1 ; RUN: llc -mtriple=aarch64-unknown-linux-gnu < %s | FileCheck %s --check-prefixes=CHECK,CHECK-LINUX
2 ; RUN: llc -mtriple=aarch64-apple-darwin      < %s | FileCheck %s --check-prefixes=CHECK,CHECK-MACOS
4 define i32 @foo() nounwind noinline uwtable "function-instrument"="xray-always" "xray-skip-entry" {
5 ; CHECK-NOT: Lxray_sled_0:
6   ret i32 0
7 ; CHECK-LABEL: Lxray_sled_0:
8 ; CHECK-NEXT:  b  #32
9 ; CHECK-NEXT:  nop
10 ; CHECK-NEXT:  nop
11 ; CHECK-NEXT:  nop
12 ; CHECK-NEXT:  nop
13 ; CHECK-NEXT:  nop
14 ; CHECK-NEXT:  nop
15 ; CHECK-NEXT:  nop
16 ; CHECK-LABEL: Ltmp0:
17 ; CHECK-NEXT:  ret
20 ; CHECK-LINUX-LABEL: .section xray_instr_map,"ao",@progbits,foo{{$}}
21 ; CHECK-LINUX-LABEL: Lxray_sleds_start0:
22 ; CHECK-LINUX:         .xword .Lxray_sled_0
23 ; CHECK-LINUX-LABEL: Lxray_sleds_end0:
25 ; CHECK-MACOS-LABEL: .section __DATA,xray_instr_map,regular,live_support{{$}}
26 ; CHECK-MACOS-LABEL: lxray_sleds_start0:
27 ; CHECK-MACOS:         .quad Lxray_sled_0
28 ; CHECK-MACOS-LABEL: Lxray_sleds_end0: