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