[Git][ghc/ghc][wip/simplifier-tweaks] wibble
Simon Peyton Jones (@simonpj)
gitlab at gitlab.haskell.org
Thu Jul 6 08:10:22 UTC 2023
Simon Peyton Jones pushed to branch wip/simplifier-tweaks at Glasgow Haskell Compiler / GHC
Commits:
740908bf by Simon Peyton Jones at 2023-07-06T09:10:10+01:00
wibble
- - - - -
1 changed file:
- compiler/GHC/Core/Opt/Simplify/Iteration.hs
Changes:
=====================================
compiler/GHC/Core/Opt/Simplify/Iteration.hs
=====================================
@@ -3733,8 +3733,9 @@ mkDupableContWithDmds env _
where
thumbsUpPlanA (StrictBind {}) = True
thumbsUpPlanA (Stop {}) = True
+ thumbsUpPlanA (Select {}) = True -- Not quite sure of this one, but it
+ -- benefits nofib digits-of-e1 quite a bit
thumbsUpPlanA (StrictArg {}) = False
- thumbsUpPlanA (Select {}) = False
thumbsUpPlanA (CastIt { sc_cont = k }) = thumbsUpPlanA k
thumbsUpPlanA (TickIt _ k) = thumbsUpPlanA k
thumbsUpPlanA (ApplyToVal { sc_cont = k }) = thumbsUpPlanA k
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/740908bfce305de2b85b84add80ecc6384d43f7b
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/740908bfce305de2b85b84add80ecc6384d43f7b
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230706/55bc5ba7/attachment.html>
More information about the ghc-commits
mailing list