[commit: ghc] master: Let the simplifier know that seq# forces (d964b05)

git at git.haskell.org git at git.haskell.org
Wed Jun 6 19:51:55 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/d964b054d530ea9e29ed051fdf2b49a6afe465fb/ghc

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

commit d964b054d530ea9e29ed051fdf2b49a6afe465fb
Author: David Feuer <david.feuer at gmail.com>
Date:   Wed Jun 6 15:50:06 2018 -0400

    Let the simplifier know that seq# forces
    
    Add a special case in `simplAlt` to record that the result of
    `seq#` is in WHNF.
    
    Reviewers: simonmar, bgamari, simonpj
    
    Reviewed By: simonpj
    
    Subscribers: simonpj, rwbarton, thomie, carter
    
    GHC Trac Issues: #15226
    
    Differential Revision: https://phabricator.haskell.org/D4796


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

d964b054d530ea9e29ed051fdf2b49a6afe465fb
 compiler/coreSyn/CoreSyn.hs               |  12 +++-
 compiler/simplCore/Simplify.hs            | 108 ++++++++++++++++++++----------
 testsuite/tests/perf/should_run/T15226.hs |  30 +++++++++
 testsuite/tests/perf/should_run/all.T     |  10 +++
 4 files changed, 123 insertions(+), 37 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 d964b054d530ea9e29ed051fdf2b49a6afe465fb


More information about the ghc-commits mailing list