[GHC] #8326: Place heap checks common in case alternatives before the case

GHC ghc-devs at haskell.org
Wed Aug 5 08:50:22 UTC 2015


#8326: Place heap checks common in case alternatives before the case
-------------------------------------+-------------------------------------
        Reporter:  jstolarek         |                   Owner:
            Type:  task              |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.7
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |               Test Case:
      Blocked By:                    |                Blocking:  8317
 Related Tickets:  #1498             |  Differential Revisions:  Phab:D343
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Actually, now that I look a bit more carefully `StgCmmMonad.codeOnly` may
 be exactly what is needed here. I'll need to think a bit more to make sure
 this breaks all of the potential cycles, but I am optimistic.

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


More information about the ghc-tickets mailing list