[commit: ghc] master: Make Specialise work with casts (1990bb0)

git at git.haskell.org git at git.haskell.org
Tue Feb 28 17:11:47 UTC 2017


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

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

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

commit 1990bb0df51250519b555ec271c693d289dd9802
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Feb 28 12:11:33 2017 -0500

    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 Note
    [Account for casts in binding] in Specialise.
    
    Reviewers: austin, goldfire, bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D3192


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

1990bb0df51250519b555ec271c693d289dd9802
 compiler/coreSyn/CoreSubst.hs     | 62 ++++++++++++++++++++++++++++++++++++---
 compiler/specialise/Specialise.hs | 35 ++++++++++++++++------
 compiler/types/Coercion.hs        | 46 +++++++++++++++++++++++++----
 compiler/types/Unify.hs           |  2 +-
 4 files changed, 126 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 1990bb0df51250519b555ec271c693d289dd9802


More information about the ghc-commits mailing list