[GHC] #14068: Loopification using join points

GHC ghc-devs at haskell.org
Fri Mar 16 21:17:10 UTC 2018


#14068: Loopification using join points
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:  nomeata
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:  JoinPoints
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #13966 #14067     |  Differential Rev(s):  Phab:D3811
  #14827                             |
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by kavon):

 * cc: kavon (added)


Comment:

 While working on my own version of this patch (without knowing about this
 work yet) I noticed that we may not want to perform the loopification
 transformation too early, as specialization and other optimizations end up
 turning a binder marked as `RecursiveTailCalled` into a a full join point,
 and we end up with better code.

 Thus, my plan was to implement it as a separate Core pass to figure out at
 what point(s) during optimization to perform loopification.

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


More information about the ghc-tickets mailing list