[Git][ghc/ghc][wip/T24466] Wibble

Simon Peyton Jones (@simonpj) gitlab at gitlab.haskell.org
Wed May 8 18:25:26 UTC 2024



Simon Peyton Jones pushed to branch wip/T24466 at Glasgow Haskell Compiler / GHC


Commits:
bf9e9ff2 by Simon Peyton Jones at 2024-05-08T19:25:13+01:00
Wibble

- - - - -


1 changed file:

- compiler/GHC/Core/Opt/Simplify/Utils.hs


Changes:

=====================================
compiler/GHC/Core/Opt/Simplify/Utils.hs
=====================================
@@ -1608,10 +1608,11 @@ postInlineUnconditionally env bind_cxt old_bndr bndr rhs
                                         --     in GHC.Core.Opt.Simplify.Iteration
   | otherwise
   = case occ_info of
-      OneOcc { occ_in_lam = in_lam, occ_int_cxt = int_cxt, occ_n_br = n_br }
+      OneOcc { occ_in_lam = in_lam, occ_n_br = n_br }
         | n_br == 1, NotInsideLam <- in_lam  -- One syntactic occurrence
         -> True                              -- See Note [Post-inline for single-use things]
 {-
+      OneOcc { occ_in_lam = in_lam, occ_int_cxt = int_cxt, occ_n_br = n_br }
         -- See Note [Inline small things to avoid creating a thunk]
 
         | n_br >= 100 -> False  -- See #23627



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/bf9e9ff282cbae740bab6807d1014004fa05b7f0

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/bf9e9ff282cbae740bab6807d1014004fa05b7f0
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/20240508/12fd3fa5/attachment-0001.html>


More information about the ghc-commits mailing list