[commit: ghc] late-lam-lift: added -flate-float-leave-LNE, which prevents LNEs from being lifted (8d979a1)

Nicolas Frisby nicolas.frisby at gmail.com
Fri Apr 12 17:02:50 CEST 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : late-lam-lift

https://github.com/ghc/ghc/commit/8d979a1115cb774d96d9a1179f63c7b42ad2e6e5

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

commit 8d979a1115cb774d96d9a1179f63c7b42ad2e6e5
Author: Nicolas Frisby <nicolas.frisby at gmail.com>
Date:   Thu Apr 11 12:07:45 2013 +0100

    added -flate-float-leave-LNE, which prevents LNEs from being lifted
    
      ALLOC WORSE                                      llf    llf -flate-float-leave-LNE
                boyer2              3901736           -7.0%           +0.0%
                puzzle            165864064          -19.1%           -2.9%
    
      TIME BETTER
        fannkuch-redux                 6.55          +11.7%           -0.1%
             --  382807736 ENT_LNE_ctr      <-- likely part of the improvement
                 fasta                 1.11           +1.2%           +0.0%
                  life                 0.43           +3.8%           -0.8%
                   scs                 0.99           -0.3%           -4.7%
         spectral-norm                 3.25           +2.8%           +0.0%
                  wang                 0.22           +0.0%           -3.0%
    
    Also causes slowdowns, but I don't immediately see why
    
       TIME WORSE
          binary-trees                 1.67           +1.4%           +5.0%
                hidden                 0.77           -3.9%           +0.4%
               integer                 2.78           -4.7%           -0.7%
             typecheck                 0.36           -5.6%           +2.8%
    
    I looked at typecheck's ticky and CorePrep changes and didn't see
    anything indicative. Ugh.

 compiler/main/DynFlags.hs        |   4 +-
 compiler/simplCore/CoreMonad.lhs |   4 +-
 compiler/simplCore/SetLevels.lhs | 114 ++++++++++++---------------------------
 compiler/simplCore/SimplCore.lhs |   2 +-
 4 files changed, 37 insertions(+), 87 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 8d979a1115cb774d96d9a1179f63c7b42ad2e6e5



More information about the ghc-commits mailing list