[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 12 commits: Add a RULE to make lookup fuse

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Wed Aug 2 07:01:00 UTC 2023



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


Commits:
f7af77eb by MorrowM at 2023-08-02T02:59:19-04:00
Add a RULE to make lookup fuse

See https://github.com/haskell/core-libraries-committee/issues/175

Metric Increase:
    T18282

- - - - -
c2cf5249 by Ben Gamari at 2023-08-02T02:59:19-04:00
hadrian: Ensure that way-flags are passed to CC

Previously the way-specific compilation flags (e.g. `-DDEBUG`,
`-DTHREADED_RTS`) would not be passed to the CC invocations. This meant
that C dependency files would not correctly reflect
dependencies predicated on the way, resulting in the rather
painful #23554.

Closes #23554.

- - - - -
8ab86ed0 by Jaro Reinders at 2023-08-02T02:59:20-04:00
Native 32-bit Enum Int64/Word64 instances

This commits adds more performant Enum Int64 and Enum Word64 instances
for 32-bit platforms, replacing the Integer-based implementation.

These instances are a copy of the Enum Int and Enum Word instances with
minimal changes to manipulate Int64 and Word64 instead.

On i386 this yields a 1.5x performance increase and for the JavaScript
back end it even yields a 5.6x speedup.

Metric Decrease:
    T18964

- - - - -
a995e4eb by Sylvain Henry at 2023-08-02T02:59:24-04:00
JS: fix typos in constants (#23650)

- - - - -
91af7f6f by Josh Meredith at 2023-08-02T02:59:26-04:00
JavaScript: update MK_TUP macros to use current tuple constructors (#23659)

- - - - -
c9ba5546 by Matthew Pickering at 2023-08-02T02:59:26-04:00
ci: Pass -Werror when building hadrian in hadrian-ghc-in-ghci job

Warnings when building Hadrian can end up cluttering the output of HLS,
and we've had bug reports in the past about these warnings when building
Hadrian. It would be nice to turn on -Werror on at least one build of
Hadrian in CI to avoid a patch introducing warnings when building
Hadrian.

Fixes #23638

- - - - -
7f24e1f2 by Ben Gamari at 2023-08-02T02:59:27-04:00
codeGen: Ensure that TSAN is aware of writeArray# write barriers

By using a proper release store instead of a fence.

- - - - -
01373f0e by Ben Gamari at 2023-08-02T02:59:27-04:00
codeGen: Ensure that array reads have necessary barriers

This was the cause of #23541.

- - - - -
87f9c00c by Arnaud Spiwack at 2023-08-02T02:59:40-04:00
Add test for #23550

- - - - -
0e4e0b99 by Arnaud Spiwack at 2023-08-02T02:59:40-04:00
Desugar non-recursive lets to non-recursive lets (take 2)

This reverts commit 522bd584f71ddeda21efdf0917606ce3d81ec6cc. And
takes care of the case that I missed in my previous attempt. Namely
the case of an AbsBinds with no type variables and no dictionary
variable.

Ironically, the comment explaining why non-recursive lets were
desugared to recursive lets were pointing specifically at this case
as the reason. I just failed to understand that it was until Simon PJ
pointed it out to me.

See #23550 for more discussion.

- - - - -
58504962 by jade at 2023-08-02T02:59:42-04:00
Expand documentation of List & Data.List

This commit aims to improve the documentation and examples
of symbols exported from Data.List

- - - - -
7d80fad3 by Jade at 2023-08-02T02:59:46-04:00
Improve documentation of Semigroup & Monoid

This commit aims to improve the documentation of various symbols
exported from Data.Semigroup and Data.Monoid

- - - - -


30 changed files:

- .gitlab-ci.yml
- compiler/GHC/HsToCore/Binds.hs
- compiler/GHC/HsToCore/Expr.hs
- compiler/GHC/StgToCmm/Prim.hs
- compiler/GHC/StgToJS/Linker/Utils.hs
- hadrian/ghci-cabal.in
- hadrian/src/Oracles/Setting.hs
- hadrian/src/Settings/Builders/Cabal.hs
- hadrian/src/Settings/Builders/Common.hs
- hadrian/src/Settings/Builders/Ghc.hs
- hadrian/src/Settings/Packages.hs
- libraries/base/Data/List.hs
- libraries/base/Data/Monoid.hs
- libraries/base/Data/OldList.hs
- libraries/base/Data/Semigroup.hs
- libraries/base/Data/Semigroup/Internal.hs
- libraries/base/GHC/Base.hs
- libraries/base/GHC/Int.hs
- libraries/base/GHC/List.hs
- libraries/base/GHC/Word.hs
- libraries/base/changelog.md
- libraries/base/jsbits/base.js
- libraries/base/jsbits/errno.js
- libraries/ghc-prim/GHC/Types.hs
- + testsuite/tests/deSugar/should_compile/T23550.hs
- testsuite/tests/deSugar/should_compile/all.T
- testsuite/tests/ghci/should_run/T16096.stdout
- testsuite/tests/javascript/all.T
- testsuite/tests/javascript/js-ffi-string.hs
- testsuite/tests/javascript/js-ffi-string.stdout


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/673a399f30d2375ee3a2d21e942f33427da20ad7...7d80fad30f22c5f80913aeeb1cbb18089fb26c68

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/673a399f30d2375ee3a2d21e942f33427da20ad7...7d80fad30f22c5f80913aeeb1cbb18089fb26c68
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/20230802/72fdaa32/attachment-0001.html>


More information about the ghc-commits mailing list