[GHC] #12364: Demand analysis for sum types

GHC ghc-devs at haskell.org
Tue Jul 5 08:46:11 UTC 2016


#12364: Demand analysis for sum types
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.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 osa1):

 Yes, we implemented it with @jmct and it worked fine in our tests. Only
 problem is: We don't have a recursive type check, so for lists etc. it
 takes really long time (because it iterates 20 times as that's the hard-
 coded hard-limit for demand analysis iterations, specified in DmdAnal.hs).

 We also implemented CPR if you need that...

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


More information about the ghc-tickets mailing list