[GHC] #14372: CMM contains a bunch of tail-merging opportunities

GHC ghc-devs at haskell.org
Fri Nov 17 22:40:47 UTC 2017


#14372: CMM contains a bunch of tail-merging opportunities
-------------------------------------+-------------------------------------
        Reporter:  heisenbug         |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by heisenbug):

 Replying to [comment:13 jp.rider63]:
 > What's the status of this? I'd be interested in contributing to the
 implementation if it's helpful.

 There is a branch in my GHC fork on github:
 https://github.com/ggreif/ghc/tree/wip/global-cmm-cbe

 It does not work with `ghc --make` because the assembly files contain
 local labels. Concatenating all assembly files might work, but I have not
 tried it yet.

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


More information about the ghc-tickets mailing list