A fast cutting-plane algorithm for optimal coalescing

  • Authors:
  • Daniel Grund;Sebastian Hack

  • Affiliations:
  • Department of Computer Science, Saarland University;Department of Computer Science, University of Karlsruhe

  • Venue:
  • CC'07 Proceedings of the 16th international conference on Compiler construction
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Recent work has shown that the subtasks of register allocation (spilling, register assignment, and coalescing) can be completely separated. This work presents an algorithm for the coalescing subproblem that relies on this separation. The algorithm uses 0/1 Linear Programming (ILP), a general-purpose optimization technique, to derive optimal solutions. We provide the first optimal solutions for a benchmark called "Optimal Coalescing Challenge", i.e., our ILP model outperforms previous approaches. Additionally,we use these optimal solutions to assess the quality ofwell-known heuristics.Asecond benchmark on SPECCPU2000 programs emphasizes the practicality of our algorithm.