https://github.com/efriedma-quic commented:

If you express the size of the hazard padding between the PPRs and ZPRs as a 
scalable size, that might simplify some of the logic?  You wouldn't need to 
represent the two areas as separate stacks, at least.

Maybe it's also worth considering "preallocating" some stack slots, along the 
lines of LocalStackSlotAllocation; anything we can allocate in an earlier pass 
doesn't have to be part of the core stack layout, and we probably get better 
code if we have a "base" for ZPR variables.

Do we care at all how stack protectors fit into all of this?  I suspect the 
stack protector ends up in an unfortunate position by default.

https://github.com/llvm/llvm-project/pull/142392
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to