llvm-project
12f392cf - [AArch64][SME] Support `aarch64-split-sve-objects` with VLAs/realignment (#163816)

Commit
19 hours ago
[AArch64][SME] Support `aarch64-split-sve-objects` with VLAs/realignment (#163816) This was left out of the original patch (#142392) to simplify the initial implementation. However, after refactoring the SVE prologue/epilogue code in #162253, it's not much of an extension to support this case. The main change here is when restoring the SP from the FP for the SVE restores, we may need an additional frame offset to move from the start of the ZPR callee-saves to the start of the PPR callee-saves. This patch also fixes a previously latent bug where we'd add the `RealignmentPadding` when allocating the PPR locals, then again for the ZPR locals. This was unnecessary as the stack only needs to be realigned after all SVE allocations.
Author
Parents
Loading