cvs commit: fptools/ghc/compiler/simplCore SetLevels.lhs fptools/ghc/compiler/stranal
WwLib.lhs
Simon Peyton Jones
simonpj@glass.cse.ogi.edu
Mon, 10 Dec 2001 04:26:10 -0800
simonpj 2001/12/10 04:26:10 PST
Modified files:
ghc/compiler/simplCore SetLevels.lhs
ghc/compiler/stranal WwLib.lhs
Log:
------------------------------
Don't do CPR w/w for constants
------------------------------
We don't want to do a CPR split for a constant
function. So if the worker will get no (value) args,
we disable the CPR transformation.
This infelicity exposed a buglet in the full laziness
transformation; we were floating an expression outside
an InlineMe context. I've take the blunderbuss approach
now, of effectively disabling full laziness inside an
InlineMe. Seems reasonable.
Revision Changes Path
1.50 +10 -2 fptools/ghc/compiler/simplCore/SetLevels.lhs
1.60 +13 -5 fptools/ghc/compiler/stranal/WwLib.lhs