[GHC] #5173: Implement forward substitution of constants in the Cmm mini-inliner

GHC cvs-ghc at haskell.org
Fri May 6 14:35:09 CEST 2011


#5173: Implement forward substitution of constants in the Cmm mini-inliner
---------------------------------+------------------------------------------
    Reporter:  tibbe             |       Owner:              
        Type:  bug               |      Status:  new         
    Priority:  normal            |   Component:  Compiler    
     Version:  7.0.3             |    Keywords:              
    Testcase:                    |   Blockedby:              
          Os:  Unknown/Multiple  |    Blocking:              
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by tibbe):

 The attached patch implement forward substitution of constants, with the
 drawback that the original assignment isn't removed. We could either leave
 the assignment to a later dead-assignment elimination pass or try to
 improve this pass to remove it as well.

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



More information about the Glasgow-haskell-bugs mailing list