Float out partial applications
authorSimon Marlow <marlowsd@gmail.com>
Fri, 8 Oct 2010 09:27:09 +0000 (09:27 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 8 Oct 2010 09:27:09 +0000 (09:27 +0000)
commita66541af84d102f32b73fb7f89f48008c01092a6
tree367cdd29dc93f8f83cbee620e3a5be4b88c12a5c
parent5e86045ae5f90d9138e395fde5792e50ac8f8afd
Float out partial applications

This fixes at least one case of performance regression in 7.0, and
is nice win on nofib:

        Program           Size    Allocs   Runtime   Elapsed
            Min          +0.3%    -63.0%    -38.5%    -38.7%
            Max          +1.2%     +0.2%     +0.9%     +0.9%
 Geometric Mean          +0.6%     -3.0%     -6.4%     -6.6%
compiler/coreSyn/CoreSyn.lhs
compiler/simplCore/CoreMonad.lhs
compiler/simplCore/SetLevels.lhs