[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 9 commits: SpecConstr: Introduce a separate argument limit for forced specs.
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Tue Oct 1 23:46:43 UTC 2024
Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC
Commits:
4e446417 by Andreas Klebinger at 2024-10-01T19:46:28-04:00
SpecConstr: Introduce a separate argument limit for forced specs.
We used to put no limit at all on specializations forced via the SPEC
argument. This isn't always reasonable so we introduce a very high limit
that applies to forced specializations, a flag to control it, and we now
emit a warning if we fail a specialization because we exceed the
warning.
Fixes #25197
- - - - -
8e96ff6d by Andreas Klebinger at 2024-10-01T19:46:29-04:00
ghc-experimental: Expose primops and ghc extensions via GHC.PrimOps
This will be the new place for functions that would have gone into
GHC.Exts in the past but are not stable enough to do so now.
Addresses #25242
- - - - -
df4e5c54 by Sylvain Henry at 2024-10-01T19:46:32-04:00
RTS: cleanup timerfd file descriptors after a fork (#25280)
When we init a timerfd-based ticker, we should be careful to cleanup the
old file descriptors (e.g. after a fork).
- - - - -
569d13b5 by Rodrigo Mesquita at 2024-10-01T19:46:33-04:00
determinism: Deterministic MonadGetUnique LlvmM
Update LlvmM to thread a unique deterministic supply (using UniqDSMT),
and use it in the MonadGetUnique instance.
This makes uniques sampled from LlvmM deterministic, which guarantees
object determinism with -fllvm.
Fixes #25274
- - - - -
6a03ec4c by Matthew Pickering at 2024-10-01T19:46:34-04:00
Bump LLVM upper bound to allow LLVM 19
Also bumps the ci-images commit so that the deb12 images uses LLVM 19
for testing.
-------------------------
Metric Decrease:
size_hello_artifact_gzip
size_hello_unicode_gzip
-------------------------
Fixes #25295
- - - - -
b5a3423b by Matthew Pickering at 2024-10-01T19:46:34-04:00
configure: Allow happy-2.0.2
happy-2.0.2 can be used to compile GHC.
happy-2.0 and 2.0.1 have bugs which make it unsuitable to use.
The version bound is now == 1.20.* || >= 2.0.2 && < 2.1
Fixes #25276
- - - - -
c806d61e by Matthew Pickering at 2024-10-01T19:46:35-04:00
Fix registerArch for riscv64
The register allocator doesn't support vector registers on riscv64,
therefore advertise as NoVectors.
Fixes #25314
- - - - -
5a1f086a by Matthew Pickering at 2024-10-01T19:46:35-04:00
riscv: Avoid using csrr instruction to test for vector registers
The csrr instruction isn't allowed in qemu user-mode, and raises an
illegal instruction error when it is encountered.
Therefore for now, we just hard-code that there is no support for vector
registers since the rest of the compiler doesn't support vector
registers for riscv.
Fixes #25312
- - - - -
bffab14f by Andreas Klebinger at 2024-10-01T19:46:35-04:00
Add support for fp min/max to riscv
Fixes #25313
- - - - -
19 changed files:
- .gitlab-ci.yml
- compiler/GHC/CmmToAsm/RV64/CodeGen.hs
- compiler/GHC/CmmToAsm/RV64/Instr.hs
- compiler/GHC/CmmToAsm/RV64/Ppr.hs
- compiler/GHC/CmmToLlvm.hs
- compiler/GHC/CmmToLlvm/Base.hs
- compiler/GHC/Core/Opt/SpecConstr.hs
- compiler/GHC/Driver/DynFlags.hs
- compiler/GHC/Driver/Session.hs
- compiler/GHC/Platform/Reg/Class.hs
- configure.ac
- docs/users_guide/using-optimisation.rst
- libraries/base/src/GHC/Exts.hs
- libraries/ghc-experimental/ghc-experimental.cabal.in
- + libraries/ghc-experimental/src/GHC/PrimOps.hs
- libraries/ghc-internal/src/GHC/Internal/Exts.hs
- m4/fptools_happy.m4
- rts/CheckVectorSupport.c
- rts/posix/ticker/TimerFd.c
The diff was not included because it is too large.
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/048e98e4be0bc4a3babac45c5d9d64122a639cc1...bffab14fd22d43149687212f81de19f66d770cec
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/048e98e4be0bc4a3babac45c5d9d64122a639cc1...bffab14fd22d43149687212f81de19f66d770cec
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/20241001/64f247b2/attachment.html>
More information about the ghc-commits
mailing list