Stream: git-cranelift

Topic: cranelift / Issue #21 Automatic stack slot alignment


view this post on Zulip GitHub (Feb 28 2020 at 23:18):

alexcrichton transferred Issue #21:

Stack slots can be defined with an explicit alignment, but the alignment can also be left out, and Cretonne "will pick an appropriate alignment for the stack slot based on its size and access patterns".

We should:

The alignment inference algorithm needs to consider:

A TargetISA method that returns the preferred alignment for accessing a given type seems appropriate.


Last updated: Nov 22 2024 at 16:03 UTC