1 ; RUN: llc -mtriple thumbv7-windows -frame-pointer=all -filetype asm -o - %s \
4 declare void @callee(i32)
6 define i32 @calleer(i32 %i) {
8 %i.addr = alloca i32, align 4
9 %j = alloca i32, align 4
10 store i32 %i, i32* %i.addr, align 4
11 %0 = load i32, i32* %i.addr, align 4
12 %add = add nsw i32 %0, 1
13 store i32 %add, i32* %j, align 4
14 %1 = load i32, i32* %j, align 4
15 call void @callee(i32 %1)
16 %2 = load i32, i32* %j, align 4
17 %add1 = add nsw i32 %2, 1
21 ; CHECK: push.w {r11, lr}