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

GHC ghc-devs at haskell.org
Fri Oct 26 10:00:35 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 simonpj):

 > Will there be an analysis that recovers the functionality or do I have
 to write my own (occurrence analyser on STG)?

 I think the latter. It's extremely easy of course.  The only tricky bit is
 to decide how to record the results in the tree.

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


More information about the ghc-tickets mailing list