1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

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

This commit is contained in:
Simon Pilgrim 2020-04-08 16:00:32 +01:00
parent 018ac2481d
commit 2f9838c835

View File

@ -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}