[commit: ghc] master: cmm/CBE: Use foldLocalRegsDefd (9aa7389)

git at git.haskell.org git at git.haskell.org
Thu Sep 21 22:03:07 UTC 2017


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

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

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

commit 9aa73892e10e90a1799b9277da593e816a827364
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Thu Sep 21 18:02:36 2017 -0400

    cmm/CBE: Use foldLocalRegsDefd
    
    Simonpj suggested this as a follow-on to #14226 to avoid code
    duplication. This also gives us the ability to CBE cases involving
    foreign calls for free.
    
    Test Plan: Validate
    
    Reviewers: austin, simonmar, simonpj
    
    Reviewed By: simonpj
    
    Subscribers: michalt, simonpj, rwbarton, thomie
    
    GHC Trac Issues: #14226
    
    Differential Revision: https://phabricator.haskell.org/D3999


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

9aa73892e10e90a1799b9277da593e816a827364
 compiler/cmm/CmmCommonBlockElim.hs | 168 +++++++++++++++++++++----------------
 compiler/cmm/CmmPipeline.hs        |   2 +-
 2 files changed, 95 insertions(+), 75 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 9aa73892e10e90a1799b9277da593e816a827364


More information about the ghc-commits mailing list