[Git][ghc/ghc][wip/T25266] 14 commits: ci: RISCV64 cross-compile testing

Simon Peyton Jones (@simonpj) gitlab at gitlab.haskell.org
Thu Oct 10 23:07:15 UTC 2024



Simon Peyton Jones pushed to branch wip/T25266 at Glasgow Haskell Compiler / GHC


Commits:
a1ecc826 by Sven Tennie at 2024-10-08T13:36:03-04:00
ci: RISCV64 cross-compile testing

This adds a validation job which tests that we can build a riscv64 cross
compiler and build a simple program using it. We do not currently run
the whole testsuite.

Towards #25254

Co-authored-by: Matthew Pickering <matthewtpickering at gmail.com>

- - - - -
d5c2577f by Arnaud Spiwack at 2024-10-08T13:36:44-04:00
Remove unused accumulators in partition_errors

- - - - -
55609880 by Andrzej Rybczak at 2024-10-09T16:41:46-04:00
Fix typo in the @since annotation of annotateIO

- - - - -
ef481813 by Alan Zimmerman at 2024-10-09T16:42:23-04:00
EPA: Remove [AddEpAnn] from (most of) HsExpr

EPA: introduce EpAnnLam for lambda annotationsi, and remove `glAA`
from `Parser.y`, it is the same as `glR`

EPA: Remove unused annotation from XOpApp

EPA: Use EpToken for XNPat and XNegApp

EPA: specific anns for XExplicitTuple / XTuplePat / sumPatParens.

EPA: Use specific annotation for MultiIf

EPA: Move annotations into FunRhs

EPA: Remove [AddEpAnn] from SigPat and ExprWithTySig

EPA: Remove [AddEpAnn] from ArithSeq

EPA: Remove [AddEpAnn] from HsProc

EPA: Remove [AddEpAnn] from HsStatic

EPA: Remove [AddEpAnn] from BindStmt

EPA: Remove [AddEpAnn] from TransStmt

EPA: Remove [AddEpAnn] from HsTypedSplice

EPA: Remove [AddEpAnn] from HsUntypedSpliceExpr

- - - - -
73565a71 by Simon Peyton Jones at 2024-10-10T23:32:47+01:00
Move defaulting code into a new module

GHC.Tc.Solver had reached 4,000 lines -- although quite a lot of them
are comments.

This MR

* Adds the new module GHC.Tc.Solver.Default, which has all the
  complex, but well modularised, defaulting code

* Moves a bit of code from GHC.Tc.Solver into the existing
  GHC.Tc.Solver.Solve. Notably solveWanteds and simplifyWantedsTcM,
  which are called from GHC.Tc.Solver.Default

It's a pure refactor.  No code changes.

- - - - -
6f8ca7c1 by Simon Peyton Jones at 2024-10-10T23:32:47+01:00
Work in progress on #25266

- - - - -
d7308086 by Simon Peyton Jones at 2024-10-10T23:32:47+01:00
Better generalisation

- - - - -
5544800d by Simon Peyton Jones at 2024-10-10T23:32:47+01:00
Wibbles to short cuts

- - - - -
757a41b8 by Simon Peyton Jones at 2024-10-10T23:32:47+01:00
Iterating in decideAndPromote

- - - - -
88b93f2a by Simon Peyton Jones at 2024-10-10T23:32:47+01:00
Wibble

- - - - -
a3cd2d19 by Simon Peyton Jones at 2024-10-10T23:32:47+01:00
Wibble Solver

- - - - -
dd8ba563 by Simon Peyton Jones at 2024-10-10T23:32:47+01:00
Wibble

- - - - -
11e78c22 by Simon Peyton Jones at 2024-10-11T00:03:38+01:00
Keep variables in correct order

- - - - -
e905dd14 by Simon Peyton Jones at 2024-10-11T00:06:51+01:00
Wibble solver

- - - - -


25 changed files:

- .gitlab/generate-ci/gen_ci.hs
- .gitlab/jobs.yaml
- compiler/GHC/Data/Bag.hs
- compiler/GHC/Hs/Dump.hs
- compiler/GHC/Hs/Expr.hs
- compiler/GHC/Hs/Pat.hs
- compiler/GHC/Hs/Utils.hs
- compiler/GHC/HsToCore/Arrows.hs
- compiler/GHC/HsToCore/Binds.hs
- compiler/GHC/HsToCore/Expr.hs
- compiler/GHC/HsToCore/Match.hs
- compiler/GHC/Parser.y
- compiler/GHC/Parser/Annotation.hs
- compiler/GHC/Parser/PostProcess.hs
- compiler/GHC/Rename/Bind.hs
- compiler/GHC/Rename/Utils.hs
- compiler/GHC/Tc/Deriv/Functor.hs
- compiler/GHC/Tc/Deriv/Generate.hs
- compiler/GHC/Tc/Deriv/Infer.hs
- compiler/GHC/Tc/Errors.hs
- compiler/GHC/Tc/Gen/Arrow.hs
- compiler/GHC/Tc/Gen/Match.hs
- compiler/GHC/Tc/Gen/Rule.hs
- compiler/GHC/Tc/Instance/FunDeps.hs
- compiler/GHC/Tc/Module.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/2921f22bb1d031969a7013ec9c30f12cee5f6688...e905dd142c9d4ecd375e09864d4909100ab1a904

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/2921f22bb1d031969a7013ec9c30f12cee5f6688...e905dd142c9d4ecd375e09864d4909100ab1a904
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/20241010/2bcdc780/attachment.html>


More information about the ghc-commits mailing list