• DocumentCode
    2300042
  • Title

    Optimistic register coalescing

  • Author

    Park, Jinpyo ; Moon, Soo-Mook

  • Author_Institution
    Sch. of Electr. Eng., Seoul Nat. Univ., South Korea
  • fYear
    1998
  • fDate
    12-18 Oct 1998
  • Firstpage
    196
  • Lastpage
    204
  • Abstract
    Graph-coloring register allocators eliminate copies by coalescing the source and target node of a copy if they do not interfere in the interference graph. Coalescing is, however, known to be harmful to the colorability of the graph because it tends to yield a graph with nodes of higher degrees. Unlike aggressive coalescing which coalesces any pair of non-interfering copy-related nodes, conservative coalescing or iterated coalescing perform safe coalescing that preserves the colorability. Unfortunately, these heuristics give up coalescing too early, losing many opportunities of coalescing that would turn out to be safe. Moreover, they ignore the fact that coalescing may even improve the colorability of the graph by reducing the degree of neighbor nodes that are interfering with both the source and target nodes being coalesced. This paper proposes a new heuristic called optimistic coalescing which optimistically performs aggressive coalescing, thus fully exploiting the positive impact of coalescing, yet when a coalesced node is to be spilled, it is split back into separate nodes; there as a better chance of coloring one of them which reduces the overall spill cost
  • Keywords
    processor scheduling; resource allocation; aggressive coalescing; colorability; conservative coalescing; copy coalescing; instruction scheduling; interference graph; optimistic coalescing; register allocation; register allocators; renaming; Abstracts; Cost function; Heuristic algorithms; Interference constraints; Interference elimination; Interleaved codes; Moon; NP-complete problem; Optimizing compilers; Registers;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel Architectures and Compilation Techniques, 1998. Proceedings. 1998 International Conference on
  • Conference_Location
    Paris
  • ISSN
    1089-795X
  • Print_ISBN
    0-8186-8591-3
  • Type

    conf

  • DOI
    10.1109/PACT.1998.727246
  • Filename
    727246