1 ; RUN: llc -filetype=asm -relocation-model=pic -o - -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s
3 define i32 @callee() nounwind noinline uwtable "function-instrument"="xray-always" {
7 ; CHECK-NEXT: std 0, -8(1)
9 ; CHECK-NEXT: bl __xray_FunctionEntry
12 ; CHECK-LABEL: .Ltmp1:
14 ; CHECK-LABEL: .Ltmp2:
17 ; CHECK-NEXT: std 0, -8(1)
19 ; CHECK-NEXT: bl __xray_FunctionExit
24 define i32 @caller() nounwind noinline uwtable "function-instrument"="xray-always" {
25 ; CHECK-LABEL: .Ltmp5:
26 ; CHECK-NEXT: b .Ltmp6
28 ; CHECK-NEXT: std 0, -8(1)
30 ; CHECK-NEXT: bl __xray_FunctionEntry
33 ; CHECK-LABEL: .Ltmp6:
34 %retval = tail call i32 @callee()
36 ; CHECK-LABEL: .Ltmp7:
39 ; CHECK-NEXT: std 0, -8(1)
41 ; CHECK-NEXT: bl __xray_FunctionExit