[project @ 1999-09-17 09:15:22 by simonpj]
This bunch of commits represents work in progress on inlining and worker/wrapper stuff. Currently, I think it makes the compiler slightly worse than 4.04, for reasons I don't yet understand. But it means that Simon and I can both peer at what is going on. * Substantially improve handling of coerces in worker/wrapper * exprIsDupable for an application (f e1 .. en) wasn't calling exprIsDupable on the arguments!! So applications with few, but large, args were being dupliated. * sizeExpr on an application wasn't doing a nukeScrutDiscount on the arg of an application!! So bogus discounts could accumulate from arguments! * Improve handling of INLINE pragmas in calcUnfoldingGuidance. It was really wrong before
Showing
- ghc/compiler/coreSyn/CoreUnfold.lhs 51 additions, 21 deletionsghc/compiler/coreSyn/CoreUnfold.lhs
- ghc/compiler/coreSyn/CoreUtils.lhs 47 additions, 34 deletionsghc/compiler/coreSyn/CoreUtils.lhs
- ghc/compiler/main/ErrUtils.lhs 12 additions, 2 deletionsghc/compiler/main/ErrUtils.lhs
- ghc/compiler/main/MkIface.lhs 15 additions, 4 deletionsghc/compiler/main/MkIface.lhs
- ghc/compiler/parser/RdrHsSyn.lhs 6 additions, 1 deletionghc/compiler/parser/RdrHsSyn.lhs
- ghc/compiler/rename/Rename.lhs 6 additions, 12 deletionsghc/compiler/rename/Rename.lhs
- ghc/compiler/rename/RnSource.lhs 31 additions, 19 deletionsghc/compiler/rename/RnSource.lhs
- ghc/compiler/simplCore/OccurAnal.lhs 29 additions, 9 deletionsghc/compiler/simplCore/OccurAnal.lhs
- ghc/compiler/simplCore/SetLevels.lhs 12 additions, 2 deletionsghc/compiler/simplCore/SetLevels.lhs
- ghc/compiler/simplCore/SimplCore.lhs 13 additions, 1 deletionghc/compiler/simplCore/SimplCore.lhs
- ghc/compiler/simplCore/SimplMonad.lhs 10 additions, 1 deletionghc/compiler/simplCore/SimplMonad.lhs
- ghc/compiler/simplCore/SimplUtils.lhs 3 additions, 3 deletionsghc/compiler/simplCore/SimplUtils.lhs
- ghc/compiler/simplCore/Simplify.lhs 82 additions, 68 deletionsghc/compiler/simplCore/Simplify.lhs
- ghc/compiler/stgSyn/CoreToStg.lhs 7 additions, 1 deletionghc/compiler/stgSyn/CoreToStg.lhs
- ghc/compiler/stranal/StrictAnal.lhs 1 addition, 0 deletionsghc/compiler/stranal/StrictAnal.lhs
- ghc/compiler/stranal/WorkWrap.lhs 88 additions, 126 deletionsghc/compiler/stranal/WorkWrap.lhs
- ghc/compiler/stranal/WwLib.lhs 144 additions, 254 deletionsghc/compiler/stranal/WwLib.lhs
Loading
Please register or sign in to comment