Identify loops
authorAndy Wingo <wingo@pobox.com>
Sat, 12 Oct 2013 13:19:01 +0000 (15:19 +0200)
committerAndy Wingo <wingo@pobox.com>
Sat, 12 Oct 2013 13:19:20 +0000 (15:19 +0200)
commit96b8027cc412ed431785a4c7ed643da2777f3263
tree0366947ba7bd805643c6feb19d447ded83161b87
parent366eb4d764cc575eb48015b4e68fefc88b22706b
Identify loops

* module/language/cps/dfg.scm (compute-dom-edges)
  (compute-join-edges, compute-reducible-back-edges)
  (compute-irreducible-dom-levels, compute-nodes-by-level)
  (mark-loop-body, mark-irreducible-loops, identify-loops): Identify
  loops.  Irreducible loops are TODO.

* test-suite/tests/rtl-compilation.test ("contification"): Add an
  irreducible loop test.
module/language/cps/dfg.scm
test-suite/tests/rtl-compilation.test