[commit: ghc] master: Don't eta-expand in stable unfoldings (e07ad4d)

git at git.haskell.org git at git.haskell.org
Wed Dec 21 14:06:43 UTC 2016


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

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

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

commit e07ad4db75885f6e3ff82aa3343999f2af39a16d
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Wed Dec 21 12:01:32 2016 +0000

    Don't eta-expand in stable unfoldings
    
    See SimplUtils Note [No eta expansion in stable unfoldings],
    and Trac #9509 for an excellend diagnosis by Nick Frisby


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

e07ad4db75885f6e3ff82aa3343999f2af39a16d
 compiler/simplCore/SimplUtils.hs                   | 43 +++++++++++++++++-----
 compiler/simplCore/Simplify.hs                     |  6 +--
 testsuite/tests/simplCore/should_compile/Makefile  |  8 ++++
 testsuite/tests/simplCore/should_compile/T9509.hs  |  5 +++
 .../tests/simplCore/should_compile/T9509.stdout    |  1 +
 testsuite/tests/simplCore/should_compile/T9509a.hs | 10 +++++
 testsuite/tests/simplCore/should_compile/all.T     |  4 ++
 7 files changed, 64 insertions(+), 13 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 e07ad4db75885f6e3ff82aa3343999f2af39a16d


More information about the ghc-commits mailing list