summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/thumb1-varalloc.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/ARM/thumb1-varalloc.ll')
-rw-r--r--llvm/test/CodeGen/ARM/thumb1-varalloc.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/thumb1-varalloc.ll b/llvm/test/CodeGen/ARM/thumb1-varalloc.ll
index 3787c4282b2..0e8b6c09896 100644
--- a/llvm/test/CodeGen/ARM/thumb1-varalloc.ll
+++ b/llvm/test/CodeGen/ARM/thumb1-varalloc.ll
@@ -34,9 +34,10 @@ bb2:
bb3:
%.0 = phi i8* [ %0, %entry ], [ %6, %bb2 ], [ %3, %bb1 ]
-; CHECK: subs r4, #5
+; CHECK: subs r4, r7, #7
+; CHECK-NEXT: subs r4, #1
; CHECK-NEXT: mov sp, r4
-; CHECK-NEXT: pop {r4, r5, r6, r7, pc}
+; CHECK-NEXT: pop {r4, r6, r7, pc}
ret i8* %.0
}
OpenPOWER on IntegriCloud