Wed Feb  4 00:19:19 PST 2009  [email protected]
  * Two small improvements to LiberateCase
  Ignore-this: ca41d8d9ef1b409b32761b1a69bd1400
  
  Max Bolingbroke suggested these two small improvements to LiberateCase
  (most of the size increase is comments :-)):
  
  a) Do LiberateCase on small functions even if they are mutually recursive
     See Note [Small enough]
  
  b) Don't do LiberateCase on functions for which it'd be fruitless,
     namely when a free varible is scrutinised *outside* the function
     See Note [Avoiding fruitless liberate-case]
  
  There is virtually no effect on nofib, but Max tripped over cases
  where it mattered slightly.
  
  

    M ./compiler/simplCore/LiberateCase.lhs -25 +64

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

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

Reply via email to