[GHC] #7542: GHC doesn't optimize (strict) composition with id

GHC cvs-ghc at haskell.org
Fri Jan 25 13:50:43 CET 2013


#7542: GHC doesn't optimize (strict) composition with id
---------------------------------+------------------------------------------
    Reporter:  shachaf           |       Owner:                         
        Type:  bug               |      Status:  new                    
    Priority:  normal            |   Milestone:                         
   Component:  Compiler          |     Version:  7.6.1                  
    Keywords:                    |          Os:  Unknown/Multiple       
Architecture:  Unknown/Multiple  |     Failure:  Runtime performance bug
  Difficulty:  Unknown           |    Testcase:                         
   Blockedby:                    |    Blocking:                         
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by simonpj@…):

 commit 35f1fc957d152c520c90c6bd2330266e57578eb2
 {{{
 Author: Simon Peyton Jones <simonpj at microsoft.com>
 Date:   Tue Jan 22 22:46:33 2013 +0000

     Allow CaseElim if the case binder is the next thing to be eval'd

     This makes CaseElim happen a bit more often.
     See Note [Case binder next] in Simplify.
     This came up when investigating Trac #7542.

  compiler/simplCore/Simplify.lhs |   32 ++++++++++++++++++++++++++------
  1 files changed, 26 insertions(+), 6 deletions(-)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7542#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list