1 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu -frame-pointer=all | FileCheck %s
3 define i32 @_Z4funci(i32 %a) ssp {
5 ; CHECK-NEXT: stw 0, 4(1)
6 ; CHECK-NEXT: stwu 1, -32(1)
7 ; CHECK-NEXT: stw 31, 28(1)
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
21 return: ; preds = %entry
22 %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
26 declare i32 @_Z3barPi(i32*)