1; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu -frame-pointer=all | FileCheck %s 2 3define i32 @_Z4funci(i32 %a) ssp { 4; CHECK: mflr 0 5; CHECK-NEXT: stw 0, 4(1) 6; CHECK-NEXT: stwu 1, -32(1) 7; CHECK-NEXT: stw 31, 28(1) 8; CHECK: mr 31, 1 9entry: 10 %a_addr = alloca i32 ; <i32*> [#uses=2] 11 %retval = alloca i32 ; <i32*> [#uses=2] 12 %0 = alloca i32 ; <i32*> [#uses=2] 13 %"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0] 14 store i32 %a, i32* %a_addr 15 %1 = call i32 @_Z3barPi(i32* %a_addr) ; <i32> [#uses=1] 16 store i32 %1, i32* %0, align 4 17 %2 = load i32, i32* %0, align 4 ; <i32> [#uses=1] 18 store i32 %2, i32* %retval, align 4 19 br label %return 20 21return: ; preds = %entry 22 %retval1 = load i32, i32* %retval ; <i32> [#uses=1] 23 ret i32 %retval1 24} 25 26declare i32 @_Z3barPi(i32*) 27