cmm/Hoopl/Dataflow: remove unused code
authorMichal Terepeta <michal.terepeta@gmail.com>
Wed, 19 Oct 2016 02:17:49 +0000 (22:17 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 19 Oct 2016 02:17:58 +0000 (22:17 -0400)
commit02f2f21ce4a9969406cf1772dc5955a97386777a
treeeb1f6379d994a1fad6da95032e323914b1ca0017
parent3866481f228b28687c4021d9deb16e2138fdc008
cmm/Hoopl/Dataflow: remove unused code

We had *a lot* of code copied from Hoopl that is for rewriting. But GHC
doesn't use it (it only uses some forked Hoopl code for analysis).

So we can safely kill all this code and make it much easier to refactor
and improve the parts that we do use.

Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: ./validate

Reviewers: austin, simonmar, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2612
compiler/cmm/CmmUtils.hs
compiler/cmm/Hoopl.hs
compiler/cmm/Hoopl/Dataflow.hs