1; RUN: llc -filetype=asm -o - -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s 2 3declare hidden i32 @callee() nounwind noinline uwtable "function-instrument"="xray-always" 4 5define i32 @caller() nounwind noinline uwtable "function-instrument"="xray-always" { 6; CHECK-LABEL: .Ltmp0: 7; CHECK: b .Ltmp1 8; CHECK-NEXT: nop 9; CHECK-NEXT: std 0, -8(1) 10; CHECK-NEXT: mflr 0 11; CHECK-NEXT: bl __xray_FunctionEntry 12; CHECK-NEXT: nop 13; CHECK-NEXT: mtlr 0 14; CHECK-LABEL: .Ltmp1: 15; CHECK: bl callee 16; CHECK-NEXT: nop 17 %retval = tail call i32 @callee() 18 ret i32 %retval 19; CHECK-LABEL: .Ltmp2: 20; CHECK: std 0, -8(1) 21; CHECK-NEXT: mflr 0 22; CHECK-NEXT: bl __xray_FunctionExit 23; CHECK-NEXT: nop 24; CHECK-NEXT: mtlr 0 25} 26 27