[GHC] #15770: Missing optimisation opportunity in code gen for always-saturated applications?

GHC ghc-devs at haskell.org
Fri Oct 19 12:02:34 UTC 2018


#15770: Missing optimisation opportunity in code gen for always-saturated
applications?
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D5232
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 Yes, the slow entry code is used as the continuation for the heap check
 for a function entry point, which saves a lot of code. See `stg_gc_fun` in
 `rts/HeapStackCheck.cmm`.

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


More information about the ghc-tickets mailing list