[commit: ghc] wip/T10613: [Temporary hack, not for master] DmdAnal: Remember by “Many” things are many (e974fe2)
git at git.haskell.org
git at git.haskell.org
Fri Jun 17 14:24:13 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T10613
Link : http://ghc.haskell.org/trac/ghc/changeset/e974fe2bf973459715215b1a674fe467ae42af1b/ghc
>---------------------------------------------------------------
commit e974fe2bf973459715215b1a674fe467ae42af1b
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.
>---------------------------------------------------------------
e974fe2bf973459715215b1a674fe467ae42af1b
compiler/basicTypes/Demand.hs | 164 +++++++++++++++++++++++---------------
compiler/basicTypes/MkId.hs | 6 +-
compiler/codeGen/StgCmmBind.hs | 8 +-
compiler/codeGen/StgCmmClosure.hs | 39 +++++----
compiler/codeGen/StgCmmTicky.hs | 21 +++--
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 | 8 +-
11 files changed, 178 insertions(+), 120 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 e974fe2bf973459715215b1a674fe467ae42af1b
More information about the ghc-commits
mailing list