From 2f9838c83567a7e2a90a0541f476843f0871c3f0 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Wed, 8 Apr 2020 16:00:32 +0100 Subject: [PATCH] [ARM] Fix thumb1_return_sequence typo in check to fix issue reported on D77354 --- test/CodeGen/ARM/thumb1_return_sequence.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CodeGen/ARM/thumb1_return_sequence.ll b/test/CodeGen/ARM/thumb1_return_sequence.ll index 11e18f1347a..8e4ef7a629a 100644 --- a/test/CodeGen/ARM/thumb1_return_sequence.ll +++ b/test/CodeGen/ARM/thumb1_return_sequence.ll @@ -28,7 +28,7 @@ entry: ; CHECK-V4T-NEXT: ldr [[POP:r[4567]]], [sp, #16] ; CHECK-V4T-NEXT: mov lr, [[POP]] ; CHECK-V4T-NEXT: pop {[[SAVED]]} -; CHECK-V4T-NEXT add sp, sp, #4 +; CHECK-V4T-NEXT: add sp, #4 ; The ISA for v4 does not support pop pc, so make sure we do not emit ; one even when we do not need to update SP. ; CHECK-V4T-NOT: pop {pc}