[Git][ghc/ghc][wip/T23925] 4 commits: JS: fix some tests

Simon Peyton Jones (@simonpj) gitlab at gitlab.haskell.org
Tue Sep 12 15:57:05 UTC 2023



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


Commits:
ff0a709a by Sylvain Henry at 2023-09-12T08:46:28-04:00
JS: fix some tests

- Tests using Setup programs need to pass --with-hc-pkg
- Several other fixes

See https://gitlab.haskell.org/ghc/ghc/-/wikis/javascript-backend/bug_triage
for the current status

- - - - -
fc86f0e7 by Krzysztof Gogolewski at 2023-09-12T08:47:04-04:00
Fix in-scope set assertion failure (#23918)

Patch by Simon

- - - - -
cc8894e2 by Simon Peyton Jones at 2023-09-12T16:56:57+01:00
Add -fno-cse to T15426 and T18964

This -fno-cse change is to avoid these performance tests depending on
flukey CSE stuff.  Each contains several independent tests, and we don't
want them to interact.

See #23925.

By killing CSE we expect a 400% increase in T15426, and 100% in T18964.

Metric Increase:
    T15426
    T18964

- - - - -
e50be4c3 by Simon Peyton Jones at 2023-09-12T16:56:57+01:00
Tiny refactor

canEtaReduceToArity was only called internally, and always with
two arguments equal to zero.  This patch just specialises the
function, and renames it to cantEtaReduceFun.

No change in behaviour.

- - - - -


30 changed files:

- compiler/GHC/Core/Opt/Arity.hs
- compiler/GHC/Tc/Solver.hs
- compiler/GHC/Tc/Utils/Instantiate.hs
- testsuite/tests/backpack/cabal/T14304/Makefile
- testsuite/tests/backpack/cabal/T15594/Makefile
- testsuite/tests/backpack/cabal/T15594/all.T
- testsuite/tests/backpack/cabal/T16219/Makefile
- testsuite/tests/backpack/cabal/T20509/Makefile
- testsuite/tests/backpack/cabal/T20509/all.T
- testsuite/tests/backpack/cabal/bkpcabal01/Makefile
- testsuite/tests/backpack/cabal/bkpcabal02/Makefile
- testsuite/tests/backpack/cabal/bkpcabal02/all.T
- testsuite/tests/backpack/cabal/bkpcabal03/Makefile
- testsuite/tests/backpack/cabal/bkpcabal03/all.T
- testsuite/tests/backpack/cabal/bkpcabal04/Makefile
- testsuite/tests/backpack/cabal/bkpcabal04/all.T
- testsuite/tests/backpack/cabal/bkpcabal05/Makefile
- testsuite/tests/backpack/cabal/bkpcabal05/all.T
- testsuite/tests/backpack/cabal/bkpcabal06/Makefile
- testsuite/tests/backpack/cabal/bkpcabal07/Makefile
- testsuite/tests/backpack/cabal/bkpcabal08/Makefile
- testsuite/tests/cabal/T12733/Makefile
- testsuite/tests/cabal/cabal03/Makefile
- testsuite/tests/cabal/cabal04/Makefile
- testsuite/tests/cabal/cabal05/Makefile
- testsuite/tests/cabal/cabal06/Makefile
- testsuite/tests/cabal/cabal08/Makefile
- testsuite/tests/cabal/cabal09/Makefile
- testsuite/tests/cabal/cabal09/all.T
- testsuite/tests/cabal/cabal10/Makefile


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1a7d3fef34b5e2eaa81537d5efe9c3f582c25099...e50be4c306c4365a205974b730ef703ea4807f1e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/1a7d3fef34b5e2eaa81537d5efe9c3f582c25099...e50be4c306c4365a205974b730ef703ea4807f1e
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/20230912/830cec4c/attachment.html>


More information about the ghc-commits mailing list