sizeExpr: multiply all the sizes by 10, except for primops. This
authorSimon Marlow <marlowsd@gmail.com>
Wed, 25 May 2011 12:06:05 +0000 (13:06 +0100)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 25 May 2011 12:09:56 +0000 (13:09 +0100)
commit4063e1d8501b38b5ed8d620dcd8e27adee0e7091
tree153af8715e437f90c76ddc532216a0179c38bc62
parenta6e8418a71b14ef85ee7134be654689b17765f03
sizeExpr: multiply all the sizes by 10, except for primops.  This
makes primops look cheap (but not free), and improves the Repro4.hs
example from #4978.

While I was making this change I accidentally discovered that
increasing the discount for scrutinised constructors was an
unambiguous win, so I did that too.
compiler/coreSyn/CoreUnfold.lhs
compiler/main/StaticFlags.hs