diff --git a/llvm/test/MC/AArch64/seh-large-func.s b/llvm/test/MC/AArch64/seh-large-func.s index d9defe6b1874..a3205388c255 100644 --- a/llvm/test/MC/AArch64/seh-large-func.s +++ b/llvm/test/MC/AArch64/seh-large-func.s @@ -192,7 +192,7 @@ b: .seh_save_fplr_x 256 stp x19, x20, [sp, #240] .seh_save_regp x19, 240 - mov x29, fp + mov x29, sp .seh_set_fp .seh_endprologue .rept 600000 diff --git a/llvm/test/MC/AArch64/seh-optimize.s b/llvm/test/MC/AArch64/seh-optimize.s index 56008888fec9..4783d3c0263a 100644 --- a/llvm/test/MC/AArch64/seh-optimize.s +++ b/llvm/test/MC/AArch64/seh-optimize.s @@ -87,7 +87,7 @@ func: nop .seh_startepilogue - ldp x27, x28, [sp, #32] + ldp x23, x24, [sp, #32] .seh_save_regp x23, 32 ldp x23, x24, [sp, #16] .seh_save_regp x23, 16 diff --git a/llvm/test/MC/AArch64/seh-packed-unwind.s b/llvm/test/MC/AArch64/seh-packed-unwind.s index cbb476266763..8183cbb49870 100644 --- a/llvm/test/MC/AArch64/seh-packed-unwind.s +++ b/llvm/test/MC/AArch64/seh-packed-unwind.s @@ -1078,7 +1078,7 @@ nonpacked9: .seh_startepilogue mov sp, x29 .seh_set_fp - ldp x29, lr, [sp], #32 + ldp x29, lr, [sp], #16 .seh_save_fplr_x 16 add sp, sp, #32 .seh_stackalloc 32