[commit: ghc] master: Deal with join points with RULES (a7628dc)

git at git.haskell.org git at git.haskell.org
Tue Mar 27 08:29:28 UTC 2018


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

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

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

commit a7628dcd2cb570fe41de247af6aa71a89177a9b9
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Mon Mar 26 17:16:14 2018 +0100

    Deal with join points with RULES
    
    Trac #13900 showed that when we have a join point that
    has a RULE, we must push the continuation into the RHS
    of the RULE.
    
    See Note [Rules and unfolding for join points]
    
    It's hard to tickle this bug, so I have not added a regression test.


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

a7628dcd2cb570fe41de247af6aa71a89177a9b9
 compiler/simplCore/SimplCore.hs |   2 +-
 compiler/simplCore/Simplify.hs  | 120 ++++++++++++++++++++++++++++------------
 2 files changed, 86 insertions(+), 36 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 a7628dcd2cb570fe41de247af6aa71a89177a9b9


More information about the ghc-commits mailing list