[GHC] #7865: SpecConstr duplicating computations

GHC cvs-ghc at haskell.org
Fri Apr 26 04:08:12 CEST 2013


#7865: SpecConstr duplicating computations
------------------------------------+---------------------------------------
Reporter:  amosrobinson             |          Owner:                  
    Type:  bug                      |         Status:  new             
Priority:  normal                   |      Component:  Compiler        
 Version:                           |       Keywords:  SpecConstr      
      Os:  Unknown/Multiple         |   Architecture:  Unknown/Multiple
 Failure:  Runtime performance bug  |      Blockedby:                  
Blocking:                           |        Related:                  
------------------------------------+---------------------------------------

Comment(by amosrobinson):

 I am not sure how to fix this. It seems that SpecConstr is trying to do
 the job of the inliner and case of constructor.
 Could we make SpecConstr ignore these cases and run it multiple times,
 between each Simplifier pass? Or perhaps call the Simplifier from
 SpecConstr when this inlining needs to be done?

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



More information about the ghc-tickets mailing list