[commit: ghc] wip/T10613: [Temporary hack, not for master] DmdAnal: Remember by “Many” things are many (095dee8)

git at git.haskell.org git at git.haskell.org
Fri Jun 17 15:56:14 UTC 2016


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

On branch  : wip/T10613
Link       : http://ghc.haskell.org/trac/ghc/changeset/095dee89a6316c7ae5d16b005e3a28eba07df792/ghc

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

commit 095dee89a6316c7ae5d16b005e3a28eba07df792
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Mon May 2 14:12:51 2016 +0200

    [Temporary hack, not for master] DmdAnal: Remember by “Many” things are many
    
    I change the type
    	data Count = One | Many
    into
    	data Count = One | Many [String]
    and use these list of strings (always sorted and nub'ed) to track the
    various reasons why something is called many times.


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

095dee89a6316c7ae5d16b005e3a28eba07df792
 compiler/basicTypes/Demand.hs     | 176 ++++++++++++++++++++++----------------
 compiler/basicTypes/IdInfo.hs     |   6 +-
 compiler/basicTypes/MkId.hs       |   6 +-
 compiler/codeGen/StgCmmBind.hs    |   8 +-
 compiler/codeGen/StgCmmClosure.hs |  39 +++++----
 compiler/codeGen/StgCmmTicky.hs   |  21 +++--
 compiler/coreSyn/CoreArity.hs     |   2 +-
 compiler/coreSyn/CorePrep.hs      |   8 +-
 compiler/prelude/primops.txt.pp   |  30 +++----
 compiler/simplStg/StgStats.hs     |   2 +-
 compiler/specialise/SpecConstr.hs |   2 +-
 compiler/stgSyn/CoreToStg.hs      |   4 +-
 compiler/stgSyn/StgSyn.hs         |  14 ++-
 compiler/stranal/DmdAnal.hs       |  12 +--
 compiler/stranal/WorkWrap.hs      |   2 +-
 15 files changed, 195 insertions(+), 137 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 095dee89a6316c7ae5d16b005e3a28eba07df792


More information about the ghc-commits mailing list