patch applied (ghc): Second bite at the rules-only idea
Simon Peyton Jones
simonpj at microsoft.com
Wed Oct 4 08:17:54 EDT 2006
Wed Oct 4 04:10:00 PDT 2006 simonpj at microsoft.com
* Second bite at the rules-only idea
This is part 2 of the patch that improved the interaction of RULES and
recursion. It's vital that all Ids that may be referred to from later in
the module are marked 'IAmALoopBreaker' because otherwise we may do
postInlineUnconditionally, and lose the binding altogether.
So I've added a boolean rules-only flag to IAmALoopBreaker. Now we can
do inlining for rules-only loop-breakers.
M ./compiler/basicTypes/BasicTypes.lhs -10 +41
M ./compiler/coreSyn/CoreUnfold.lhs -5 +5
M ./compiler/main/TidyPgm.lhs -2 +2
M ./compiler/simplCore/OccurAnal.lhs -53 +42
M ./compiler/simplCore/SimplUtils.lhs -1 +2
M ./compiler/simplCore/Simplify.lhs -7 +8
More information about the Cvs-ghc
mailing list