[commit: ghc] master: Remove StgBinderInfo and related computation in CoreToStg (d30352a)

git at git.haskell.org git at git.haskell.org
Mon Nov 12 04:17:39 UTC 2018


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

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

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

commit d30352add1da67dd0346613853cd423c7becbaeb
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date:   Mon Nov 12 06:50:54 2018 +0300

    Remove StgBinderInfo and related computation in CoreToStg
    
    - The StgBinderInfo type was never used in the code gen, so the type, related
      computation in CoreToStg, and some comments about it are removed. See #15770
      for more details.
    
    - Simplified CoreToStg after removing the StgBinderInfo computation: removed
      StgBinderInfo arguments and mfix stuff.
    
    The StgBinderInfo values were not used in the code gen, but I still run nofib
    just to make sure: 0.0% change in allocations and binary sizes.
    
    Test Plan: Validated locally
    
    Reviewers: simonpj, simonmar, bgamari, sgraf
    
    Reviewed By: sgraf
    
    Subscribers: AndreasK, sgraf, rwbarton, carter
    
    Differential Revision: https://phabricator.haskell.org/D5232


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

d30352add1da67dd0346613853cd423c7becbaeb
 compiler/codeGen/StgCmm.hs        |   4 +-
 compiler/codeGen/StgCmmBind.hs    |  15 ++--
 compiler/codeGen/StgCmmClosure.hs |  86 -----------------------
 compiler/codeGen/StgCmmExpr.hs    |   2 +-
 compiler/simplStg/StgCse.hs       |   8 +--
 compiler/simplStg/StgStats.hs     |   2 +-
 compiler/simplStg/UnariseStg.hs   |   4 +-
 compiler/stgSyn/CoreToStg.hs      | 140 ++++++++++----------------------------
 compiler/stgSyn/StgLint.hs        |   4 +-
 compiler/stgSyn/StgSyn.hs         |  44 ++----------
 10 files changed, 61 insertions(+), 248 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 d30352add1da67dd0346613853cd423c7becbaeb


More information about the ghc-commits mailing list