AlgorithmsSystemsEdit on GitHubEdit history
Graph-Coloring Register Allocation
Chaitin's algorithm, Chaitin–Briggs1981
A register-allocation approach that builds an interference graph linking variables live at the same time, colors it by repeatedly removing nodes whose degree is below the number of registers, and inserts spill code when coloring fails.
Origin
2 independent origins — credit is split among them
Gregory J. Chaitin, Marc A. Auslander, Ashok K. Chandra, John Cocke, Martin E. Hopkins, Peter W. Markstein (1981). Register allocation via coloring. Computer Languages 6(1).doi:10.1016/0096-0551(81)90048-5 — checked against Crossref, 2026-11-08
Gregory J. Chaitin (1982). Register allocation & spilling via graph coloring. ACM SIGPLAN Symposium on Compiler Construction 1982.doi:10.1145/800230.806984 — checked against Crossref, 2026-11-08
Lineage
Algorithms 3 · Relations 2
Derived algorithms
What it led to
Iterated Register Coalescing1996
Author statementIterated register coalescing improves Chaitin-style graph-coloring allocation by interleaving coalescing. — doi:10.1145/229542.229546
Notable implementations
No implementations registered yet. Try a repo scan to find some. Repo scan
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…