Stream: cranelift

Topic: RegAlloc2 fixed stack slot registers.


view this post on Zulip Leaves (Jul 08 2024 at 19:14):

The description of these in the MachineEnv is a bit lacking. Are the indices of each PReg in the vector, times the size of the PReg, the slot number? Any clarification on this would be great.

MachineEnv in regalloc2 - Rust (docs.rs)

view this post on Zulip Notification Bot (Jul 09 2024 at 04:01):

Jim has marked this topic as resolved.

view this post on Zulip Notification Bot (Jul 09 2024 at 04:48):

Jim has marked this topic as unresolved.

view this post on Zulip Leaves (Jul 09 2024 at 04:49):

Ok figured that out, quick question though about the verbiage here:

Does this mean that registers marked as stack slots won't be used explicitly for allocations unless specified with an OperandConstraint::FixedReg()?

view this post on Zulip Amanieu (Jul 09 2024 at 13:26):

That's correct.


Last updated: Oct 23 2024 at 20:03 UTC