[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 5 commits: Fix MultiWayIf linearity checking (#23814)

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Tue Aug 22 17:03:07 UTC 2023



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


Commits:
edd8bc43 by Krzysztof Gogolewski at 2023-08-22T12:31:20-04:00
Fix MultiWayIf linearity checking (#23814)

Co-authored-by: Thomas BAGREL <thomas.bagrel at tweag.io>

- - - - -
4ba088d1 by konsumlamm at 2023-08-22T12:32:02-04:00
Update `Control.Concurrent.*` documentation

- - - - -
4befb62e by ARATA Mizuki at 2023-08-22T13:03:02-04:00
Support 128-bit SIMD on AArch64 via LLVM backend

- - - - -
bc57bcbb by Krzysztof Gogolewski at 2023-08-22T13:03:03-04:00
Testsuite cleanup

- Remove misleading help text in perf_notes, ways are not metrics
- Remove no_print_summary - this was used for Phabricator
- In linters tests, run 'git ls-files' just once.
  Previously, it was called on each has_ls_files()
- Add ghc-prim.cabal to gitignore, noticed in #23726
- Remove ghc-prim.cabal, it was accidentally committed in 524c60c8cd

- - - - -
4386c847 by Alan Zimmerman at 2023-08-22T13:03:03-04:00
EPA: Use Introduce [DeclTag] in AnnSortKey

The AnnSortKey is used to keep track of the order of declarations for
printing when the container has split them apart.

This applies to HsValBinds and ClassDecl, ClsInstDecl.

When making modifications to the list of declarations, the new order
must be captured for when it must be printed. For each list of
declarations (binds and sigs for a HsValBind) we can just store the
list in order.

To recreate the list when printing, we must merge them, and this is
what the AnnSortKey records. It used to be indexed by SrcSpan, we now
simply index by a marker as to which list to take the next item from.

- - - - -


30 changed files:

- .gitignore
- compiler/CodeGen.Platform.h
- compiler/GHC/Cmm/CallConv.hs
- compiler/GHC/Hs/Binds.hs
- compiler/GHC/Hs/Decls.hs
- compiler/GHC/Parser/Annotation.hs
- compiler/GHC/StgToCmm/Prim.hs
- compiler/GHC/Tc/Gen/Expr.hs
- libraries/base/Control/Concurrent/Chan.hs
- libraries/base/Control/Concurrent/MVar.hs
- libraries/base/Control/Concurrent/QSem.hs
- libraries/base/Control/Concurrent/QSemN.hs
- libraries/base/GHC/MVar.hs
- − libraries/ghc-prim/ghc-prim.cabal
- rts/include/stg/MachRegs.h
- testsuite/driver/perf_notes.py
- testsuite/driver/runtests.py
- testsuite/driver/testglobals.py
- testsuite/driver/testlib.py
- testsuite/mk/test.mk
- testsuite/tests/codeGen/should_run/all.T
- testsuite/tests/diagnostic-codes/all.T
- + testsuite/tests/ghc-api/exactprint/AddClassMethod.expected.hs
- + testsuite/tests/ghc-api/exactprint/AddClassMethod.hs
- testsuite/tests/ghc-api/exactprint/Makefile
- testsuite/tests/ghc-api/exactprint/all.T
- + testsuite/tests/linear/should_compile/T23814.hs
- testsuite/tests/linear/should_compile/all.T
- + testsuite/tests/linear/should_fail/T23814fail.hs
- + testsuite/tests/linear/should_fail/T23814fail.stderr


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/d5c835cafadae5fadfd9d69581efceb16b637407...4386c8478176f97657c64e097221057090960ecf

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/d5c835cafadae5fadfd9d69581efceb16b637407...4386c8478176f97657c64e097221057090960ecf
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/20230822/e765ac11/attachment.html>


More information about the ghc-commits mailing list