[GHC] #12364: Demand analysis for sum types
GHC
ghc-devs at haskell.org
Tue Jul 5 08:49:17 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):
Our branch is big because we do worker/wrapper for sums, CPR, unpacking
sum fields in DataCons etc. If you only need demand analysis I suggest
just copying Demand.hs and DmdAnal.hs. You may then need to fix
worker/wrapper pass so that it won't crash when it sees a sum demand or
cpr etc.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12364#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list