cvs commit: fptools/ghc/compiler/coreSyn CoreTidy.lhs
Simon Peyton Jones
simonpj@glass.cse.ogi.edu
Wed, 25 Jul 2001 02:19:41 -0700
simonpj 2001/07/25 02:19:41 PDT
Modified files:
ghc/compiler/coreSyn CoreTidy.lhs
Log:
---------------------------------
Another long-standing infelicity!
---------------------------------
CoreTidy was throwing away demand info on let-binders.
This meant that CorePrep would build a let (thunk) instead of
a case, even if the Id is sure to be demanded.
Easily fixed by making CoreTidy retain the demand info.
This demand-analysis stuff is having the excellent side effect
of flushing out performance bugs!
Revision Changes Path
1.51 +12 -3 fptools/ghc/compiler/coreSyn/CoreTidy.lhs