[commit: ghc] wip/nested-cpr: in Demand.lhs, remember what is a sum type (17a07e1)

git at git.haskell.org git at git.haskell.org
Wed Dec 18 15:45:25 UTC 2013


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

On branch  : wip/nested-cpr
Link       : http://ghc.haskell.org/trac/ghc/changeset/17a07e167edd86815ca79fe006c2c8e80ebb1e6b/ghc

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

commit 17a07e167edd86815ca79fe006c2c8e80ebb1e6b
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Tue Dec 10 09:15:09 2013 +0000

    in Demand.lhs, remember what is a sum type
    
    because we want to zap CPR information for sum types not only on the
    outermost level, but also nested.
    See Note [CPR for sum types]
    This comes up in sublist in Listplikefns in nofib’s boyer2.


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

17a07e167edd86815ca79fe006c2c8e80ebb1e6b
 compiler/basicTypes/DataCon.lhs |    4 +++
 compiler/basicTypes/Demand.lhs  |   76 ++++++++++++++++++++++++---------------
 compiler/basicTypes/MkId.lhs    |    2 +-
 compiler/stranal/DmdAnal.lhs    |   39 ++++++++++++--------
 4 files changed, 77 insertions(+), 44 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 17a07e167edd86815ca79fe006c2c8e80ebb1e6b


More information about the ghc-commits mailing list