[GHC] #10918: Float once-used let binding into a recursive function

GHC ghc-devs at haskell.org
Wed Oct 7 13:00:34 UTC 2015


#10918: Float once-used let binding into a recursive function
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Well, currently `-flate-dmd-anal` is an `-O2` thing, which also seems
 appropriate here.

 It's also possible (measure!) that a late run of arity analysis might be
 able to exploit information that was not available early; that might have
 performance benefits all by itself.  That was the reason we introduced
 `-flate-dmd-anal`, for example.

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


More information about the ghc-tickets mailing list