[commit: ghc] master: Combine identical case alternatives in CSE (55efc97)

git at git.haskell.org git at git.haskell.org
Tue Feb 28 21:01:00 UTC 2017


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

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

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

commit 55efc9718b520ef354e32c15c4b49cdfecce412f
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Feb 28 16:00:49 2017 -0500

    Combine identical case alternatives 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.
    
    Reviewers: austin, bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D3194


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

55efc9718b520ef354e32c15c4b49cdfecce412f
 compiler/simplCore/CSE.hs                          | 132 ++++++++++++++++++---
 .../tests/numeric/should_compile/T7116.stdout      |  16 +--
 2 files changed, 119 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 55efc9718b520ef354e32c15c4b49cdfecce412f


More information about the ghc-commits mailing list