[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 13 commits: base: Introduce Data.Enum

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Thu Aug 24 17:48:11 UTC 2023



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


Commits:
4908d798 by Ben Gamari at 2023-08-23T17:36:41-04:00
base: Introduce Data.Enum

- - - - -
f59707c7 by Ben Gamari at 2023-08-23T17:36:41-04:00
base: Add export list to GHC.Num.Integer

- - - - -
b1054053 by Ben Gamari at 2023-08-23T17:36:41-04:00
base: Add export list to GHC.Num

- - - - -
6baa481d by Ben Gamari at 2023-08-23T17:36:41-04:00
base: Add export list to GHC.Num.Natural

- - - - -
2ac15233 by Ben Gamari at 2023-08-23T17:36:41-04:00
base: Add export list to GHC.Float

- - - - -
f3c489de by Ben Gamari at 2023-08-23T17:36:41-04:00
base: Add export list to GHC.Real

- - - - -
94f59eaa by Ben Gamari at 2023-08-23T17:36:41-04:00
base: Eliminate module reexport in GHC.Exception

The metric increase here isn't strictly due to this commit but it's a
rather small, incidental change.

Metric Increase:
    T8095
    T13386

Metric Decrease:
    T8095
    T13386
    T18304

- - - - -
be1fc7df by Ben Gamari at 2023-08-23T17:36:41-04:00
base: Add disclaimers in internal modules

To warn users that these modules are internal and their interfaces may
change with little warning.

As proposed in Core Libraries Committee #146 [CLC146].

[CLC146]: https://github.com/haskell/core-libraries-committee/issues/146

- - - - -
0326f3f4 by sheaf at 2023-08-23T17:37:29-04:00
Bump Cabal submodule

We need to bump the Cabal submodule to include commit ec75950
which fixes an issue with a dodgy import Rep(..) which relied
on GHC bug #23570

- - - - -
0504cd08 by Facundo Domínguez at 2023-08-23T17:38:11-04:00
Fix typos in the documentation of Data.OldList.permutations
- - - - -
ace75051 by Antoine Leblanc at 2023-08-24T13:48:07-04:00
Be more eager in TyCon boot validity checking

This commit performs boot-file consistency checking for TyCons into
checkValidTyCl. This ensures that we eagerly catch any mismatches,
which prevents the compiler from seeing these inconsistencies and
panicking as a result.

See Note [TyCon boot consistency checking] in GHC.Tc.TyCl.

Fixes #16127

- - - - -
f336c03c by Finley McIlwaine at 2023-08-24T13:48:08-04:00
Refactor estimation of stack info table provenance

This commit greatly refactors the way we compute estimated provenance for stack
info tables. Previously, this process was done using an entirely separate traversal
of the whole Cmm code stream to build the map from info tables to source locations.
The separate traversal is now fused with the Cmm code generation pipeline in
GHC.Driver.Main.

This results in very significant code generation speed ups when -finfo-table-map is
enabled. In testing, this patch reduces code generation times by almost 30% with
-finfo-table-map and -O0, and 60% with -finfo-table-map and -O1 or -O2 .

Fixes #23103

- - - - -
88a62d92 by Finley McIlwaine at 2023-08-24T13:48:08-04:00
Add a test checking overhead of -finfo-table-map

We want to make sure we don't end up with poor codegen performance resulting from
-finfo-table-map again as in #23103. This test adds a performance test tracking
total allocations while compiling ExactPrint with -finfo-table-map.

- - - - -


30 changed files:

- compiler/GHC/Driver/GenerateCgIPEStub.hs
- compiler/GHC/Driver/Main.hs
- compiler/GHC/Tc/TyCl.hs
- compiler/GHC/Tc/TyCl/Utils.hs
- libraries/Cabal
- + libraries/base/Data/Enum.hs
- libraries/base/Data/OldList.hs
- libraries/base/GHC/Arr.hs
- libraries/base/GHC/Conc.hs
- libraries/base/GHC/Conc/IO.hs
- libraries/base/GHC/Desugar.hs
- libraries/base/GHC/Encoding/UTF8.hs
- libraries/base/GHC/Event/TimeOut.hs
- libraries/base/GHC/Exception.hs
- libraries/base/GHC/Exception/Type.hs
- libraries/base/GHC/ExecutionStack/Internal.hsc
- libraries/base/GHC/Fingerprint/Type.hs
- libraries/base/GHC/Float.hs
- libraries/base/GHC/Float/RealFracMethods.hs
- libraries/base/GHC/GHCi.hs
- libraries/base/GHC/GHCi/Helpers.hs
- libraries/base/GHC/IO.hs
- libraries/base/GHC/IO/Buffer.hs
- libraries/base/GHC/IO/Device.hs
- libraries/base/GHC/IO/Encoding.hs
- libraries/base/GHC/IO/Exception.hs
- libraries/base/GHC/IO/Handle/Internals.hs
- libraries/base/GHC/IO/Handle/Text.hs
- libraries/base/GHC/IO/Handle/Types.hs
- libraries/base/GHC/IO/SubSystem.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/5b652a6c8bdd842cc5f286a6da7344de29bfdf97...88a62d9213d51b4cd5ff77e374cf3ff3336e5c1d

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/5b652a6c8bdd842cc5f286a6da7344de29bfdf97...88a62d9213d51b4cd5ff77e374cf3ff3336e5c1d
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/20230824/a90c9c7c/attachment-0001.html>


More information about the ghc-commits mailing list