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

GHC ghc-devs at haskell.org
Wed Oct 7 08:38:58 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 nomeata):

 I suppose that would work, although I don’t like solving such issues by
 slamming just another pass to the end of the pipeline, instead of making
 sure the passes work well together (which is indeed tricky here).

 I’ll give it a shot to see if there are performance wins to be gained (I
 don’t actually expect much, I was mostly hoping for nice core), and if
 there are not many, I’d rather not pay the cost of yet another pass until
 there is a more compelling use case.

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


More information about the ghc-tickets mailing list