Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / test / CodeGen / Hexagon / xray-pred-ret.ll
blob306a00fc298e0799ae1b0d47923a3441e7ddc463
1 ; RUN: llc -mtriple=hexagon-unknown-linux-musl < %s | FileCheck %s
3 define void @Foo(i32 signext %a, i32 signext %b) #0 {
4 ; CHECK-LABEL: @Foo
5 ; CHECK-LABEL: .Lxray_sled_0:
6 ; CHECK:        jump .Ltmp0
7 ; CHECK-COUNT-4: nop
8 entry:
9   %cmp = icmp sgt i32 %a, %b
10   br i1 %cmp, label %return, label %if.end
12 ; CHECK-LABEL: .Lxray_sled_1:
13 ; CHECK:        jump .Ltmp1
14 ; CHECK-COUNT-4: nop
15 ; CHECK-LABEL: .Ltmp1:
16 ; CHECK:       if (p0) jumpr:nt r31
17 if.end:
18   tail call void @Bar()
19   br label %return
21 return:
22   ret void
25 declare void @Bar()
27 attributes #0 = { "function-instrument"="xray-always" }