[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 7 commits: Optimize NthCo (FunCo ...) in coercion opt

Marge Bot gitlab at gitlab.haskell.org
Mon Sep 28 23:31:29 UTC 2020



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


Commits:
8e7d131f by Richard Eisenberg at 2020-09-28T19:31:17-04:00
Optimize NthCo (FunCo ...) in coercion opt

We were missing this case previously.

Close #18528.

Metric Decrease:
    T18223
    T5321Fun

- - - - -
71cad817 by Krzysztof Gogolewski at 2020-09-28T19:31:18-04:00
Linear types: fix kind inference when checking datacons

- - - - -
9906cafa by Vladislav Zavialov at 2020-09-28T19:31:18-04:00
New linear types syntax: a %p -> b (#18459)

Implements GHC Proposal #356

Updates the haddock submodule.

- - - - -
29871d8d by Vladislav Zavialov at 2020-09-28T19:31:18-04:00
Improve error messages for (a %m) without LinearTypes

Detect when the user forgets to enable the LinearTypes
extension and produce a better error message.

Steals the (a %m) syntax from TypeOperators, the workaround
is to write (a % m) instead.

- - - - -
59104ce5 by Benjamin Maurer at 2020-09-28T19:31:20-04:00
Description of flag `-H` was in 'verbosity options', moved to 'misc'.
Fixes #18699

- - - - -
aa1a7320 by Benjamin Maurer at 2020-09-28T19:31:21-04:00
Workaround for #18623: GHC crashes bc. under rlimit for vmem it will reserve
_all_ of it, leaving nothing for, e.g., thread stacks.
Fix will only allocate 2/3rds and check whether remainder is at least large
enough for minimum amount of thread stacks.

- - - - -
1eb75e11 by Ryan Scott at 2020-09-28T19:31:21-04:00
Add regression test #18501

ghc/ghc!3220 ended up fixing #18501. This patch adds a regression
test for #18501 to ensure that it stays fixed.

- - - - -


30 changed files:

- compiler/GHC/Builtin/Types/Prim.hs
- compiler/GHC/Core/Coercion.hs
- compiler/GHC/Core/Coercion/Opt.hs
- compiler/GHC/Core/DataCon.hs
- compiler/GHC/Core/Multiplicity.hs
- compiler/GHC/Core/Opt/Arity.hs
- compiler/GHC/Core/Opt/Monad.hs
- compiler/GHC/Core/Opt/Simplify.hs
- compiler/GHC/Core/Opt/Simplify/Env.hs
- compiler/GHC/Core/SimpleOpt.hs
- compiler/GHC/Hs/Decls.hs
- compiler/GHC/Hs/Type.hs
- compiler/GHC/Parser.y
- compiler/GHC/Parser/Annotation.hs
- compiler/GHC/Parser/Lexer.x
- compiler/GHC/Parser/PostProcess.hs
- compiler/GHC/Tc/TyCl.hs
- compiler/GHC/Types/Id/Make.hs
- compiler/GHC/Utils/Outputable.hs
- docs/users_guide/9.0.1-notes.rst
- docs/users_guide/exts/linear_types.rst
- docs/users_guide/using.rst
- libraries/base/Data/Typeable/Internal.hs
- libraries/template-haskell/Language/Haskell/TH/Ppr.hs
- rts/posix/OSMem.c
- + testsuite/tests/ghci/scripts/T18501.script
- + testsuite/tests/ghci/scripts/T18501.stdout
- testsuite/tests/ghci/scripts/all.T
- testsuite/tests/linear/should_compile/Linear1Rule.hs
- testsuite/tests/linear/should_compile/LinearConstructors.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/79803a001d4dfbec71368aa475763c14b9f8fe9e...1eb75e11d9604218c84a5ba342c3023511c58ff3

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/79803a001d4dfbec71368aa475763c14b9f8fe9e...1eb75e11d9604218c84a5ba342c3023511c58ff3
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/20200928/77296474/attachment.html>


More information about the ghc-commits mailing list