Permalink
Switch branches/tags
Commits on Oct 19, 2012
  1. Version 1.0.0.0

    kfish committed Oct 19, 2012
Commits on Oct 15, 2012
  1. Add pass control

    John Lato committed Oct 15, 2012
    ConstMath passes can be inserted after just simplifier passes instead of all
    passes.  This should reduce compile times with large codebases.
    
    The default behavior is to insert a ConstMath pass after simplifier passes only
    within the first ten passes performed by the compiler.
Commits on Oct 12, 2012
  1. Version 0.3.0.1

    kfish committed Oct 12, 2012
    Add missing test files to distribution tarball
  2. Version 0.3.0.0

    kfish committed Oct 12, 2012
    Add simple usage info to cabal file.
  3. tests: move numeric tests into tests/ghc-7.4

    kfish committed Oct 12, 2012
    These are taken from the ghc-7.4 branch of ghc's testsuite repo.
  4. cleanup: delete some vim swapfiles from the repo.

    John Lato committed Oct 12, 2012
  5. README.md: cleanup

    kfish committed Oct 12, 2012
  6. Pass: remove prettyExpr

    John Lato committed Oct 12, 2012
    Was renamed in 0de05ed, but left after the merge.
  7. Pass: change names of vMsg and binarySub to squelch warnings

    John Lato committed Oct 12, 2012
    We'll probably want to use these in the future, so keep them around for now.
  8. refactor PrimOp matching to be ghc-version-specific

    John Lato committed Oct 12, 2012
    Now we can easily define different sets of PrimOp rules as they're added to
    (and removed from) ghc.
  9. Remove ConstMath.Rules

    John Lato committed Oct 12, 2012
  10. Pass: fix up primop rules

    John Lato committed Oct 12, 2012
    Previously all primop rules were defined for sqrt. Now they're correct.
    Also added FloatPowerOp and DoublePowerOp rules.
  11. Pass: add binaryPrimIEEE

    John Lato committed Oct 12, 2012
  12. README: document --dry-run flag

    John Lato committed Oct 12, 2012
  13. Pass: add unaryPrimIEEE

    John Lato committed Oct 12, 2012
    We can now perform constant folding on Float/Double PrimOps.
  14. Plugin: bind parsed Opts results to a named variable

    John Lato committed Oct 12, 2012
    Useful for debugging, adding other passes
  15. Add '--dry' configuration option

    John Lato committed Oct 12, 2012
    enable dry-run, useful for just doing tracing of the AST.
  16. Pass: squelch warning of unused var

    John Lato committed Oct 12, 2012
  17. ConstMath.Rules: deprecate module

    John Lato committed Oct 12, 2012
  18. README: note that ConstMath.Rules is deprecated

    John Lato committed Oct 12, 2012
  19. Pass: reformat indent tab printing (Tick)

    John Lato committed Oct 12, 2012
  20. Merge remote-tracking branch 'upstream/master'

    John Lato committed Oct 12, 2012
    Conflicts:
    	ConstMath/Pass.hs
Commits on Oct 11, 2012
  1. Pass: cleanup funcName

    kfish committed Oct 11, 2012
  2. Pass: reformat indent tab printing

    kfish committed Oct 11, 2012
  3. ConstMath.Rules is no longer required

    John Lato committed Oct 11, 2012
    Our matching engine now has a rule that applies to specialized fromRational
    calls, so it's no longer necessary to import the ConstMath.Rules module for
    more dakka.
  4. Version 0.2.0.0

    kfish committed with John Lato Oct 11, 2012
  5. Types: update existing opts

    kfish committed with John Lato Oct 11, 2012
  6. Pass: add missing type signature

    kfish committed with John Lato Oct 11, 2012
  7. Pass: check isExternalName before getting moduleName

    kfish committed with John Lato Oct 11, 2012
    Avoid panic with ghc-7.6.1
  8. Add ghc-7.6.1 support

    kfish committed with John Lato Oct 11, 2012
    This conditionally handles pretty printing differently, as ghc-7.6
    requires that showSDoc takes DynFlags. Hence we lift the pretty function
    into CoreM, where we can access the DynFlags. As we don't want to pass
    that into all the collapse functions, we match the function name by
    constructing it explicitly from its moduleName and occName, which also
    ensures that matching is not affected by compiler flags.
  9. Pass: factor out pretty printer

    kfish committed with John Lato Oct 11, 2012