Spill metric

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 issued from Wikipedia - version of the 2/10/2012. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.