[commit: ghc] wip/spj-early-inline4: Make Specialise work with casts (a25944c)

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


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

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

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

commit a25944cfd5649e7a9399b0fd29a7a4a6f19e6074
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Feb 14 13:47:13 2017 +0000

    Make Specialise work with casts
    
    With my upcoming early-inlining patch it turned out that Specialise
    was getting stuck on casts.  This patch fixes it; see Specialise
    [Account for casts in binding].


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

a25944cfd5649e7a9399b0fd29a7a4a6f19e6074
 compiler/coreSyn/CoreSubst.hs     | 54 ++++++++++++++++++++++++++++++++++++---
 compiler/specialise/Specialise.hs | 35 ++++++++++++++++++-------
 compiler/types/Coercion.hs        | 46 +++++++++++++++++++++++++++++----
 compiler/types/Unify.hs           |  2 +-
 4 files changed, 118 insertions(+), 19 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 a25944cfd5649e7a9399b0fd29a7a4a6f19e6074


More information about the ghc-commits mailing list