[project @ 2005-08-12 10:45:36 by simonmar]
authorsimonmar <unknown>
Fri, 12 Aug 2005 10:45:36 +0000 (10:45 +0000)
committersimonmar <unknown>
Fri, 12 Aug 2005 10:45:36 +0000 (10:45 +0000)
commit196ccd219fb3b7bdd4dc24e8804da8640af83bb2
tree201226998960bc774cbbb502b55a1a52d8c0c8b4
parent22df1e2a699d6eda6d5ada5073bc97c9f35e2947
[project @ 2005-08-12 10:45:36 by simonmar]
More inlining changes from SimonPJ & me: The Plan is to avoid relying
on knowledge of OneOcc occurrences after postInlineUnconditionally, so
we now attempt to make use of OneOcc as far as possible in in
pre/postInlineUnconditionally rather than the call site.  Plenty of
comments in the code with more details.

This change almost always improves performance on nofib; we have one
program that goes slower, which we'll investigate in due course.
ghc/compiler/coreSyn/CoreUnfold.lhs
ghc/compiler/simplCore/SimplUtils.lhs
ghc/compiler/simplCore/Simplify.lhs