Improve float-in somewhat
authorsimonpj@microsoft.com <unknown>
Tue, 9 Sep 2008 15:57:09 +0000 (15:57 +0000)
committersimonpj@microsoft.com <unknown>
Tue, 9 Sep 2008 15:57:09 +0000 (15:57 +0000)
commit3e597db13ccc44fdb7791e346ba23f11b27ec9f9
treec73eb574db31660a9727a2ade0b5cfb4fe6d452b
parente71d6d1f458685b6a20f6d02433667be1d4f7a26
Improve float-in somewhat

See Note [Floating in past a lambda group]. The new thing
here is that we previously were not floating in past a group
that had (\(a:*) \(x:State# a). e), with a type var *and* a
one-shot lambda.

The fix makes wave4main allocate 2% less, and doesn't change any other
nofib number, so it's not a big deal.
compiler/simplCore/FloatIn.lhs