Second bite at the rules-only idea
authorsimonpj@microsoft.com <unknown>
Wed, 4 Oct 2006 11:10:00 +0000 (11:10 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 4 Oct 2006 11:10:00 +0000 (11:10 +0000)
commita35f75aa20bf0a329be0b782986c3e12155b4d49
tree9fe5b7dfd620f0fa12a337571eb6be39f6904f82
parent0477b3897086e437d192db8d644b1ef30af82898
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.
compiler/basicTypes/BasicTypes.lhs
compiler/coreSyn/CoreUnfold.lhs
compiler/main/TidyPgm.lhs
compiler/simplCore/OccurAnal.lhs
compiler/simplCore/SimplUtils.lhs
compiler/simplCore/Simplify.lhs