[Git][ghc/ghc][wip/T17910] Try switching off floatConstants in first FloatOut
Simon Peyton Jones (@simonpj)
gitlab at gitlab.haskell.org
Wed Aug 9 22:14:18 UTC 2023
Simon Peyton Jones pushed to branch wip/T17910 at Glasgow Haskell Compiler / GHC
Commits:
06d5d3e4 by Simon Peyton Jones at 2023-08-09T23:11:54+01:00
Try switching off floatConstants in first FloatOut
...after all, in HEAD, they all get inlined back in!
- - - - -
1 changed file:
- compiler/GHC/Core/Opt/Pipeline.hs
Changes:
=====================================
compiler/GHC/Core/Opt/Pipeline.hs
=====================================
@@ -216,7 +216,7 @@ getCoreToDo dflags hpt_rule_base extra_vars
if full_laziness then
CoreDoFloatOutwards FloatOutSwitches {
floatOutLambdas = Just 0,
- floatOutConstants = True,
+ floatOutConstants = False,
floatOutOverSatApps = False,
floatToTopLevelOnly = False }
-- Was: gentleFloatOutSwitches
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/06d5d3e441ed61c9752659fb1ababc4514aeb5c5
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/06d5d3e441ed61c9752659fb1ababc4514aeb5c5
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/20230809/07e21d33/attachment.html>
More information about the ghc-commits
mailing list