[commit: ghc] wip/T11731: Add a final demand analyzer run right before TidyCore (9b9d2ee)

git at git.haskell.org git at git.haskell.org
Thu Mar 31 20:35:29 UTC 2016


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

On branch  : wip/T11731
Link       : http://ghc.haskell.org/trac/ghc/changeset/9b9d2ee305625543503ff2b5cc7696609cec0fa5/ghc

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

commit 9b9d2ee305625543503ff2b5cc7696609cec0fa5
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Thu Mar 31 10:18:15 2016 +0200

    Add a final demand analyzer run right before TidyCore
    
    in order to have precise used-once information in the exported
    strictness signatures, as well as precise used-once information on
    thunks. This avoids the bad effects of #11731.


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

9b9d2ee305625543503ff2b5cc7696609cec0fa5
 compiler/simplCore/SimplCore.hs                    |  5 ++++
 compiler/stranal/DmdAnal.hs                        | 28 ++++++++++++++++++++++
 testsuite/tests/perf/haddock/all.T                 |  3 ++-
 .../tests/simplCore/should_compile/T4908.stderr    |  6 ++---
 .../simplCore/should_compile/spec-inline.stderr    |  8 +++----
 testsuite/tests/simplCore/should_run/all.T         |  2 +-
 .../tests/stranal/should_compile/T10694.stderr     |  2 ++
 .../stranal/sigs/BottomFromInnerLambda.stderr      |  7 ++++++
 testsuite/tests/stranal/sigs/DmdAnalGADTs.stderr   | 14 +++++++++++
 testsuite/tests/stranal/sigs/HyperStrUse.stderr    |  6 +++++
 testsuite/tests/stranal/sigs/StrAnalExample.stderr |  6 +++++
 testsuite/tests/stranal/sigs/T8569.stderr          |  9 +++++++
 testsuite/tests/stranal/sigs/T8598.stderr          |  6 +++++
 testsuite/tests/stranal/sigs/UnsatFun.stderr       | 12 ++++++++++
 14 files changed, 105 insertions(+), 9 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 9b9d2ee305625543503ff2b5cc7696609cec0fa5


More information about the ghc-commits mailing list