Cranelift: regalloc2: use clobbers rather than phantom defs for calls. #4027
Labels
cranelift:area:regalloc
Issues related to register allocation.
cranelift
Issues related to the Cranelift code generator
enhancement
The initial switchover to regalloc2 retains the mechanism by which calls signal clobbered physical registers, namely, via phantom defs (defs that are immediately dead and are constrained to those regs). regalloc2 has an explicit mechanism for clobbers which is a bit more precise and possibly ever-so-slightly faster (skips liveness analysis); we should use that instead. No functional correctness implications either way.
The text was updated successfully, but these errors were encountered: