m2c icon indicating copy to clipboard operation
m2c copied to clipboard

Detect and eliminate stack spilling

Open simonlindholm opened this issue 4 years ago • 0 comments

IDO seems to use lower-numbered stack slots for this. I wonder if we can detect it... Maybe we can find all stack slots that are never read from (after the register preserval heuristic has run) and eliminate stores to them? Maybe stopping once we reach a stack slot that we don't manage to eliminate.

simonlindholm avatar Apr 19 '20 11:04 simonlindholm