1 ; RUN: llc -filetype=asm -o - -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s
3 declare hidden i32 @callee() nounwind noinline uwtable "function-instrument"="xray-always"
5 define i32 @caller() nounwind noinline uwtable "function-instrument"="xray-always" {
9 ; CHECK-NEXT: std 0, -8(1)
11 ; CHECK-NEXT: bl __xray_FunctionEntry
14 ; CHECK-LABEL: .Ltmp1:
15 %retval = tail call i32 @callee()
17 ; CHECK-LABEL: .Ltmp2:
20 ; CHECK-NEXT: std 0, -8(1)
22 ; CHECK-NEXT: bl __xray_FunctionExit