Skip to main content

graph_color

Function graph_color 

Source
pub fn graph_color(
    intervals: &[LiveInterval],
    allocatable: &[PReg],
) -> RegAllocResult
Expand description

Chaitin-Briggs style graph-coloring allocator.

The returned type matches linear-scan, so spill/reload insertion and allocation application can remain unchanged.