Revert "[AArch64] Fix aligning the stack after calling __chkstk"
authorMartin Storsjö <martin@martin.st>
Fri, 14 Oct 2022 08:27:39 +0000 (11:27 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 14 Oct 2022 08:55:59 +0000 (11:55 +0300)
commitf309f095e7c677aa23866865e8d25fe501dd7d02
tree5861e7e943c88f7ff9f4720d64feec029744cdaa
parentc004d7534dcefcfebc3e07a7fa12f5492be80279
Revert "[AArch64] Fix aligning the stack after calling __chkstk"

This reverts commit 50e0aced4521260af842dba73f1d8c50d36314ea.

This could accidentally start producing invalid code in some
cases (in particular, if compiling with -mstack-alignment=16, which
one could expect to be a no-op for a target where the stack always
is aligned to 16 bytes anyway).
llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
llvm/test/CodeGen/AArch64/win-align-chkstk.ll [deleted file]