regalloc: Refactor REMOVE-VERTEX-FROM-INTERFERENCE-GRAPH, ITERATE-COLOR
commite39c93f49063c778d0caa7c89199cc0248adf424
authorJan Moringen <jmoringe@techfak.uni-bielefeld.de>
Sun, 8 Oct 2017 13:13:58 +0000 (8 15:13 +0200)
committerJan Moringen <jmoringe@techfak.uni-bielefeld.de>
Sun, 8 Oct 2017 23:37:41 +0000 (9 01:37 +0200)
tree1698907b09b0c1a833f071502f5e14ee67167935
parenta9491d2b38f8ae96e3e1d0085ff609e01aa8ddde
regalloc: Refactor REMOVE-VERTEX-FROM-INTERFERENCE-GRAPH, ITERATE-COLOR

* REMOVE-VERTEX-FROM-INTERFERENCE-GRAPH was only ever called with
  :reset t. Renamed to RESET-INTERFERENCE-GRAPH-WITHOUT-VERTEX and
  remove code path for :reset nil

* In ITERATE-COLOR, rotated the main loop a bit to order the
  operations more intuitively:

  1. color interference graph
  2. find spill candidates
  3. if there are none, done; otherwise spill and goto 1.
src/compiler/pack-iterative.lisp