Compiler plugin for common subexpression elimination http://thoughtpolice.github.com/cse-ghc-plugin

Latest on Hackage:0.1.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by The GHC authors
Maintained by Austin Seipp

GHC plugin for Common Subexpression Elimination (CSE)

This plugin gives an example of defining a compiler plugin for GHC. The implementation of this optimization is ripped directly from GHC itself.

travis-ci.org results: Build Status



Install the latest version of the plugin from Hackage (requires GHC 7.4.1):

$ cabal install cse-ghc-plugin

Join in

File bugs in the GitHub issue tracker.

Master git repository:

  • git clone https://github.com/thoughtpolice/cse-ghc-plugin.git

There's also a BitBucket mirror:

  • git clone https://bitbucket.org/thoughtpolice/cse-ghc-plugin.git


See AUTHORS.txt.


BSD3. See LICENSE.txt for terms of copyright and redistribution.

Depends on 2 packages:
Used by 1 package:
comments powered byDisqus