Revert "[AArch64] Fix an immediate out of range for large realignments on Windows"
authorMartin Storsjö <martin@martin.st>
Tue, 18 Jul 2023 15:21:23 +0000 (18:21 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 18 Jul 2023 15:21:23 +0000 (18:21 +0300)
commit793a349e6f16888476cd365f7f958652347f4569
tree4127e36784d6bf15cf01108736c88ecf75ca1798
parent7496177d983265974a0705d583e61e00d004fc5e
Revert "[AArch64] Fix an immediate out of range for large realignments on Windows"

This reverts commit b1d0bc0f4395c69097bc11b6ba8f821f621272a9.

Builds with expensive checks show that 'sp' isn't a valid register
in ADDXrr - an object file built without exprnsive checks enabled
disassembles as "add x15, xzr, x16", instead of the intended
"add x15, sp, x16".
llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
llvm/test/CodeGen/AArch64/win-align-chkstk.ll