Skip to content

Commit 11056c3

Browse files
committed
[AArch64] [test] Make unwind info tests actually use the right instructions
This makes them match the expected decoding of the unwind info opcodes, avoiding mismatch indications from "dumpbin -unwindinfo". This is a follow up to 4580350; these cases were missed in that commit.
1 parent db4e6e6 commit 11056c3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

llvm/test/MC/AArch64/seh-large-func.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ b:
192192
.seh_save_fplr_x 256
193193
stp x19, x20, [sp, #240]
194194
.seh_save_regp x19, 240
195-
mov x29, fp
195+
mov x29, sp
196196
.seh_set_fp
197197
.seh_endprologue
198198
.rept 600000

llvm/test/MC/AArch64/seh-optimize.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func:
8787
nop
8888

8989
.seh_startepilogue
90-
ldp x27, x28, [sp, #32]
90+
ldp x23, x24, [sp, #32]
9191
.seh_save_regp x23, 32
9292
ldp x23, x24, [sp, #16]
9393
.seh_save_regp x23, 16

llvm/test/MC/AArch64/seh-packed-unwind.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ nonpacked9:
10781078
.seh_startepilogue
10791079
mov sp, x29
10801080
.seh_set_fp
1081-
ldp x29, lr, [sp], #32
1081+
ldp x29, lr, [sp], #16
10821082
.seh_save_fplr_x 16
10831083
add sp, sp, #32
10841084
.seh_stackalloc 32

0 commit comments

Comments
 (0)