[GHC] #14152: Float exit paths out of recursive functions

GHC ghc-devs at haskell.org
Fri Aug 25 12:02:04 UTC 2017


#14152: Float exit paths out of recursive functions
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:  JoinPoints
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #14137 #10918     |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Definitely not in the simplifier.

 FloatOut is already jolly complicated and I want to make it do NO FLOATING
 for join points.  (There is currently a mess.)

 I'd suggest doing it as part of loopification.

 And I'd suggest NOT doing loopification with every occurrence analysis;
 that feels far too often to me.

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


More information about the ghc-tickets mailing list