Wed Feb 10 01:47:33 PST 2010  [email protected]
  * Stop fruitless ANF-ing
  
  The simplifier is taking more iterations than it should, because we
  were fruitlessly ANF-ing a top-level declaration of form
  
     x = Ptr "foo"#
  
  to get
   
     x = let v = "foo"# in Ptr v
  
  and then inlining v again.  This patch makes Simplify.makeTrivial 
  top-level aware, so that it doesn't ANF if it's going to be undone.

    M ./compiler/simplCore/Simplify.lhs -21 +55

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20100210094733-1287e-a662ecd131a28f2d9b87806468583a962e2d7bd1.gz

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to