[project @ 2001-07-25 09:19:41 by simonpj]
authorsimonpj <unknown>
Wed, 25 Jul 2001 09:19:41 +0000 (09:19 +0000)
committersimonpj <unknown>
Wed, 25 Jul 2001 09:19:41 +0000 (09:19 +0000)
commita47868d5ea4f696e9beb3e4ecbd13c6fd14c676c
treed73bee3445fbfc254161776d69e3c1bf6b0f486e
parente16e99739c41bab70c317745e481630ccd8349d5
[project @ 2001-07-25 09:19:41 by simonpj]
---------------------------------
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!
ghc/compiler/coreSyn/CoreTidy.lhs