Tue Feb 16 07:05:06 PST 2010 Simon Marlow <[email protected]>
* Beef up cmmMiniInline a tiny bit
Allow a temporary assignment to be pushed past an assignment to a
global if the global is not mentioned in the rhs of the assignment we
are inlining.
This fixes up some bad code. We should make sure we're doing
something equivalent in the new backend in due course.
M ./compiler/cmm/CmmExpr.hs +11
M ./compiler/cmm/CmmOpt.hs -18 +19
M ./compiler/codeGen/CgUtils.hs -7
M ./compiler/codeGen/StgCmmUtils.hs -2 +1
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20100216150506-12142-3f76173e3d74f38ddc4494a8a1da988eab6e995a.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc