[llvm] [AArch64][SME] Disable hazard padding when there is only PPRs and GPRs (PR #137817)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Wed May 14 02:25:25 PDT 2025


================
@@ -3552,11 +3558,12 @@ void AArch64FrameLowering::determineStackHazardSlot(
 
   // Add a hazard slot if there are any CSR FPR registers, or are any fp-only
   // stack objects.
----------------
MacDue wrote:

The correct phrasing would probably be "hazard padding". It's part of the stack allocated to keep the callee-saved GPRs and FPRs at least stack hazard size bytes apart.  

https://github.com/llvm/llvm-project/pull/137817


More information about the llvm-commits mailing list