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: Dec 23 2024 at 13:07 UTC