[llvm] 5f25d22 - [ARM] Fix thumb1_return_sequence typo in check to fix issue reported on D77354

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 8 08:00:56 PDT 2020


Author: Simon Pilgrim
Date: 2020-04-08T16:00:45+01:00
New Revision: 5f25d22d3f018f3755eb5a1ee3dc66eef329a6e8

URL: https://github.com/llvm/llvm-project/commit/5f25d22d3f018f3755eb5a1ee3dc66eef329a6e8
DIFF: https://github.com/llvm/llvm-project/commit/5f25d22d3f018f3755eb5a1ee3dc66eef329a6e8.diff

LOG: [ARM] Fix thumb1_return_sequence typo in check to fix issue reported on D77354

Added: 
    

Modified: 
    llvm/test/CodeGen/ARM/thumb1_return_sequence.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/ARM/thumb1_return_sequence.ll b/llvm/test/CodeGen/ARM/thumb1_return_sequence.ll
index 11e18f1347a7..8e4ef7a629a7 100644
--- a/llvm/test/CodeGen/ARM/thumb1_return_sequence.ll
+++ b/llvm/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}


        


More information about the llvm-commits mailing list