[commit: ghc] wip/spj-early-inline4: Combine identical case alterantives in CSE (19d9422)

git at git.haskell.org git at git.haskell.org
Sun Feb 26 18:06:10 UTC 2017


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

On branch  : wip/spj-early-inline4
Link       : http://ghc.haskell.org/trac/ghc/changeset/19d9422108dc79ac65760718837da734c15366d5/ghc

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

commit 19d9422108dc79ac65760718837da734c15366d5
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Feb 14 13:59:04 2017 +0000

    Combine identical case alterantives in CSE
    
    See Note [Combine case alternatives] in CSE.  This opportunity
    surfaced when I was was studying early inlining.  It's easy (and
    cheap) to exploit, and sometimes makes a worthwhile saving.


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

19d9422108dc79ac65760718837da734c15366d5
 compiler/simplCore/CSE.hs                          | 133 ++++++++++++++++++---
 .../tests/numeric/should_compile/T7116.stdout      |  16 +--
 2 files changed, 120 insertions(+), 29 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 19d9422108dc79ac65760718837da734c15366d5


More information about the ghc-commits mailing list