[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 9 commits: Clean up some. In particular:

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Thu Sep 15 18:13:55 UTC 2022



Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC


Commits:
a0a6792d by M Farkas-Dyck at 2022-09-15T03:04:38-08:00
Clean up some. In particular:
• Delete some dead code, largely under `GHC.Utils`.
• Clean up a few definitions in `GHC.Utils.(Misc, Monad)`.
• Clean up `GHC.Types.SrcLoc`.
• Derive stock `Functor, Foldable, Traversable` for more types.
• Derive more instances for newtypes.

Bump haddock submodule.

- - - - -
50b744a3 by Andreas Klebinger at 2022-09-15T14:13:21-04:00
Tag inference: Fix #21954 by retaining tagsigs of vars in function position.

For an expression like:

    case x of y
      Con z -> z

If we also retain the tag sig for z we can generate code to immediately return
it rather than calling out to stg_ap_0_fast.

- - - - -
df62bbc3 by Andreas Klebinger at 2022-09-15T14:13:21-04:00
Stg.InferTags.Rewrite - Avoid some thunks.

- - - - -
1509fc16 by Matthew Pickering at 2022-09-15T14:13:23-04:00
-Wunused-pattern-binds: Recurse into patterns to check whether there's a splice

See the examples in #22057 which show we have to traverse deeply into a
pattern to determine whether it contains a splice or not. The original
implementation pointed this out but deemed this very shallow traversal
"too expensive".

Fixes #22057

I also fixed an oversight in !7821 which meant we lost a warning which
was present in 9.2.2.

Fixes #22067

- - - - -
0eddfa9c by Cheng Shao at 2022-09-15T14:13:30-04:00
hadrian: enable -fprof-late only for profiling ways

- - - - -
a60f5ce7 by Cheng Shao at 2022-09-15T14:13:30-04:00
hadrian: add late_ccs flavour transformer

- - - - -
b12131a8 by Cheng Shao at 2022-09-15T14:13:33-04:00
configure: remove unused program checks

- - - - -
c507ecd3 by Bodigrim at 2022-09-15T14:13:36-04:00
Avoid partial head and tail in ghc-heap; replace with total pattern-matching

- - - - -
ead19a53 by Cheng Shao at 2022-09-15T14:13:37-04:00
hadrian: relax Cabal upper bound to allow building with Cabal-3.8

A follow up of !8910.

- - - - -


30 changed files:

- compiler/GHC/Cmm/CLabel.hs
- compiler/GHC/Cmm/CommonBlockElim.hs
- compiler/GHC/Cmm/Lint.hs
- compiler/GHC/Cmm/Node.hs
- compiler/GHC/CmmToAsm/CFG/Dominators.hs
- compiler/GHC/CmmToAsm/Monad.hs
- compiler/GHC/CmmToC.hs
- compiler/GHC/CmmToLlvm/Base.hs
- compiler/GHC/Core/Coercion.hs
- compiler/GHC/Core/FamInstEnv.hs
- compiler/GHC/Core/Type.hs
- compiler/GHC/Data/Bag.hs
- compiler/GHC/Data/Maybe.hs
- compiler/GHC/Data/Pair.hs
- compiler/GHC/Data/Stream.hs
- compiler/GHC/Driver/CmdLine.hs
- compiler/GHC/Driver/Make.hs
- compiler/GHC/Driver/Monad.hs
- compiler/GHC/Driver/Session.hs
- compiler/GHC/HsToCore.hs
- compiler/GHC/HsToCore/Docs.hs
- compiler/GHC/HsToCore/Ticks.hs
- compiler/GHC/Iface/Ext/Ast.hs
- compiler/GHC/Iface/Ext/Types.hs
- compiler/GHC/Iface/Make.hs
- compiler/GHC/Iface/Recomp.hs
- compiler/GHC/IfaceToCore.hs
- compiler/GHC/Parser.y
- compiler/GHC/Parser/PostProcess.hs
- compiler/GHC/Parser/PostProcess/Haddock.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/c742e8e7b2c13fec8ad15485c7ff44457f0fc7d6...ead19a53bcb051ad39e99846c53e418b7a4b816e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/c742e8e7b2c13fec8ad15485c7ff44457f0fc7d6...ead19a53bcb051ad39e99846c53e418b7a4b816e
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/20220915/7b6e028b/attachment.html>


More information about the ghc-commits mailing list