Jump to content

Chaitin's algorithm

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Citation bot (talk | contribs) at 05:21, 15 November 2021 (Alter: pages. Add: s2cid. Formatted dashes. | Use this bot. Report bugs. | Suggested by Abductive | Category:Algorithms and data structures stubs | #UCB_Category 27/84). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Chaitin's algorithm is a bottom-up, graph coloring register allocation algorithm that uses cost/degree as its spill metric. It is named after its designer, Gregory Chaitin. Chaitin's algorithm was the first register allocation algorithm that made use of coloring of the interference graph for both register allocations and spilling.

Chaitin's algorithm was presented on the 1982 SIGPLAN Symposium on Compiler Construction, and published in the symposium proceedings. It was extension of an earlier 1981 paper on the use of graph coloring for register allocation. Chaitin's algorithm formed the basis of a large section of research into register allocators.

References

  • Gregory Chaitin (April 2004). "Register allocation and spilling via graph coloring". ACM SIGPLAN Notices. 39 (4): 66–74. doi:10.1145/989393.989403. S2CID 23108905.