sunfishcode commented on Issue #1068:
There isn't a great reason for
fn alignment
to be defined that way. It would be better to provide the ability for users to specify an alignment value for each stack slot.One tricky detail is that Cranelift doesn't yet support dynamically realigning the stack in case someone might use such a mechanism to request an alignment value greater than the platform ABI provides for the stack pointer, however it seems like Cranelift could just fail to compile just cases for now.
Last updated: Nov 22 2024 at 16:03 UTC