[commit: ghc] wip/T12618: Compress arguments to ConApp (fef52ca)

git at git.haskell.org git at git.haskell.org
Fri Oct 21 15:19:31 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T12618
Link       : http://ghc.haskell.org/trac/ghc/changeset/fef52ca6c771f2c1ce08215b500b6141a2cb7620/ghc

>---------------------------------------------------------------

commit fef52ca6c771f2c1ce08215b500b6141a2cb7620
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Thu Oct 20 19:11:37 2016 -0400

    Compress arguments to ConApp
    
    I really wish I could use pattern synonyms (with exhaustiveness checks)
    here, would make the code much nicer.
    
    ConApp stores compressed arguments, mkConApp and collectConArgs compress
    resp. decompress.
    
    A promising number of places to not have to decompress the arguments!


>---------------------------------------------------------------

fef52ca6c771f2c1ce08215b500b6141a2cb7620
 compiler/basicTypes/MkId.hs         |  2 +-
 compiler/coreSyn/CoreFVs.hs         | 17 +++++++-----
 compiler/coreSyn/CoreLint.hs        |  6 ++++-
 compiler/coreSyn/CorePrep.hs        | 28 ++++++++++----------
 compiler/coreSyn/CoreSeq.hs         |  2 +-
 compiler/coreSyn/CoreStats.hs       |  2 +-
 compiler/coreSyn/CoreSubst.hs       | 11 ++++----
 compiler/coreSyn/CoreSyn.hs         |  9 ++++---
 compiler/coreSyn/CoreTidy.hs        |  2 +-
 compiler/coreSyn/CoreUnfold.hs      |  6 ++---
 compiler/coreSyn/CoreUtils.hs       | 53 ++++++++++++++++++++++++++++---------
 compiler/coreSyn/MkCore.hs          |  6 ++---
 compiler/coreSyn/PprCore.hs         | 13 ++++-----
 compiler/coreSyn/TrieMap.hs         | 12 +++++----
 compiler/deSugar/DsBinds.hs         |  3 ++-
 compiler/deSugar/DsCCall.hs         |  6 ++---
 compiler/deSugar/DsListComp.hs      |  8 +++---
 compiler/deSugar/DsUtils.hs         |  4 +--
 compiler/ghc.cabal.in               |  1 +
 compiler/ghc.mk                     |  1 +
 compiler/iface/MkIface.hs           |  6 +++--
 compiler/iface/TcIface.hs           |  2 +-
 compiler/main/StaticPtrTable.hs     |  4 ++-
 compiler/main/TidyPgm.hs            |  4 +--
 compiler/prelude/PrelRules.hs       | 13 ++++-----
 compiler/simplCore/CSE.hs           |  2 +-
 compiler/simplCore/CallArity.hs     |  6 ++---
 compiler/simplCore/FloatOut.hs      |  6 ++---
 compiler/simplCore/LiberateCase.hs  |  2 +-
 compiler/simplCore/OccurAnal.hs     |  7 ++---
 compiler/simplCore/SAT.hs           |  5 ++--
 compiler/simplCore/Simplify.hs      | 17 ++++++------
 compiler/specialise/Rules.hs        |  6 ++---
 compiler/specialise/SpecConstr.hs   | 14 ++++++----
 compiler/specialise/Specialise.hs   |  6 ++---
 compiler/stgSyn/CoreToStg.hs        |  6 ++---
 compiler/stranal/DmdAnal.hs         |  6 ++---
 compiler/stranal/WorkWrap.hs        |  4 +--
 compiler/types/CompressArgs.hs      | 46 ++++++++++++++++++++++++++++++++
 compiler/types/Type.hs              |  7 +++++
 compiler/vectorise/Vectorise/Exp.hs |  6 +++--
 41 files changed, 238 insertions(+), 129 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc fef52ca6c771f2c1ce08215b500b6141a2cb7620


More information about the ghc-commits mailing list