[AArch64] Fix an immediate out of range for large realignments on Windows
authorMartin Storsjö <martin@martin.st>
Mon, 17 Jul 2023 12:19:14 +0000 (15:19 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 18 Jul 2023 12:56:36 +0000 (15:56 +0300)
commitb1d0bc0f4395c69097bc11b6ba8f821f621272a9
treeb43204b33190905f315b59224708e87f3cd91931
parent5eb7191421515d8fc7aa2c73afa50bfa67cb64a3
[AArch64] Fix an immediate out of range for large realignments on Windows

Also add a missing FrameSetup flag on the existing add instruction.

This fixes https://github.com/llvm/llvm-project/issues/63701.

Differential Revision: https://reviews.llvm.org/D155447
llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
llvm/test/CodeGen/AArch64/win-align-chkstk.ll