1 ; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s
3 define void @Foo(i32 signext %a, i32 signext %b) #0 {
6 ; CHECK-NEXT: ble 0, [[LABEL:\.[a-zA-Z0-9]+]]
7 ; CHECK-NEXT: .p2align 3
8 ; CHECK-NEXT: {{\.[a-zA-Z0-9]+}}:
13 ; CHECK-NEXT: bl __xray_FunctionExit
17 ; CHECK-NEXT: [[LABEL]]:
19 %cmp = icmp sgt i32 %a, %b
20 br i1 %cmp, label %return, label %if.end
23 ; CHECK-NEXT: {{\.[a-zA-Z0-9]+}}:
28 ; CHECK-NEXT: bl __xray_FunctionExit
40 define void @Foo2(i32 signext %a, i32 signext %b) #0 {
43 ; CHECK-NEXT: bge 0, [[LABEL:\.[a-zA-Z0-9]+]]
44 ; CHECK-NEXT: .p2align 3
45 ; CHECK-NEXT: {{\.[a-zA-Z0-9]+}}:
50 ; CHECK-NEXT: bl __xray_FunctionExit
54 ; CHECK-NEXT: [[LABEL]]:
56 %cmp = icmp slt i32 %a, %b
57 br i1 %cmp, label %return, label %if.end
60 ; CHECK-NEXT: {{\.[a-zA-Z0-9]+}}:
65 ; CHECK-NEXT: bl __xray_FunctionExit
79 attributes #0 = { "function-instrument"="xray-always" }