A spill metric is a heuristic metric used by register allocators to decide which registers to spill. Popular spill metrics are:
Where cost is the estimated cost of spilling a value from registers into memory.
This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Spill metric".
Except where otherwise indicated, Everything.Explained.Today is © Copyright 2009-2025, A B Cryer, All Rights Reserved. Cookie policy.