1 ; RUN: llc -relocation-model=pic -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s
3 define i32 @callee() nounwind noinline uwtable "function-instrument"="xray-always" {
6 ; CHECK-NEXT: b .Ltmp[[#l+1]]
8 ; CHECK-NEXT: std 0, -8(1)
10 ; CHECK-NEXT: bl __xray_FunctionEntry
13 ; CHECK-NEXT: .Ltmp[[#l+1]]:
18 ; CHECK-NEXT: std 0, -8(1)
20 ; CHECK-NEXT: bl __xray_FunctionExit
25 define i32 @caller() nounwind noinline uwtable "function-instrument"="xray-always" {
26 ; CHECK-LABEL: caller:
27 ; CHECK: .Ltmp[[#l:]]:
28 ; CHECK-NEXT: b .Ltmp[[#l+1]]
30 ; CHECK-NEXT: std 0, -8(1)
32 ; CHECK-NEXT: bl __xray_FunctionEntry
35 ; CHECK-NEXT: .Ltmp[[#l+1]]:
36 %retval = tail call i32 @callee()
38 ; CHECK: .Ltmp[[#l+2]]:
41 ; CHECK-NEXT: std 0, -8(1)
43 ; CHECK-NEXT: bl __xray_FunctionExit