[Git][ghc/ghc][wip/T26831] Remove dangling reference
Simon Peyton Jones pushed to branch wip/T26831 at Glasgow Haskell Compiler / GHC Commits: 9ce260b3 by Simon Peyton Jones at 2026-03-13T15:13:58+00:00 Remove dangling reference - - - - - 1 changed file: - compiler/GHC/Core/Opt/Arity.hs Changes: ===================================== compiler/GHC/Core/Opt/Arity.hs ===================================== @@ -2552,9 +2552,6 @@ This reduces clutter, sometimes a lot. See Note [Do not eta-expand PAPs] in GHC.Core.Opt.Simplify.Utils, where we are careful not to eta-expand a PAP. If eta-expanding is bad, then eta-reducing is good! -Also the code generator likes eta-reduced PAPs; see GHC.CoreToStg.Prep -Note [No eta reduction needed in rhsToBody]. - But note that we don't want to eta-reduce \x y. f <expensive> x y to View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9ce260b384d681dd5b51e58cf5ea0435... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9ce260b384d681dd5b51e58cf5ea0435... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Simon Peyton Jones (@simonpj)