- Feb 06, 2025
-
-
Cheng Shao authored
We used to have MIN_UPD_SIZE macro that describes the minimum reserved size for thunks, so that the thunk can be overwritten in place as indirections or blackholes. However, this macro has not been actually defined or used anywhere since a long time ago; StgThunkHeader already reserves a padding word for this purpose. Hence this patch which drops stale mentions of MIN_UPD_SIZE. (cherry picked from commit c1e3719c)
-
- Nov 20, 2024
-
-
Ben Gamari authored
-
- Nov 19, 2024
-
-
Ben Gamari authored
-
- Nov 14, 2024
-
-
Ben Gamari authored
-
- Nov 13, 2024
-
-
Ben Gamari authored
-
- Oct 18, 2024
-
-
Ben Gamari authored
-
- Oct 15, 2024
-
-
Ben Gamari authored
-
- Oct 14, 2024
-
-
Ben Gamari authored
-
- Oct 04, 2024
-
-
Ben Gamari authored
(cherry picked from commit 2b07bf2e)
-
Supplement the existing power 2 sized nonmoving allocators with a family of dense allocators up to a configurable threshold. This should reduce waste from rounding up block sizes while keeping the amount of allocator sizes manageable. This patch: - Adds a new configuration option `--nonmoving-dense-allocator-count` to control the amount of these new dense allocators. - Adds some constants to `NonmovingAllocator` in order to keep marking fast with the new allocators. Resolves #23340 (cherry picked from commit f830d5a34c4c972cced73b6dc25954cedf336747) (cherry picked from commit 47e02c2ae0ea4713a2f22edf21b9a4eb5fe635be)
-
It makes sense to have these beside each other as they are aliases. (cherry picked from commit 98166389)
-
- Sep 29, 2024
-
-
This was missing part of the unit ID meaning it would 404. Resolves #24674 (cherry picked from commit f30e4984)
-
(cherry picked from commit 06f7db40)
-
Close #24829 (cherry picked from commit c5e00c35)
-
Andreas Klebinger authored
It seems we reserve 8 registers instead of four for global regs based on the layout in Note [AArch64 Register assignments]. I'm not sure it's neccesary, but for now we just accept this state of affairs and simple update -fregs-graph to account for this. (cherry picked from commit 3f89ab92)
-
Ben Gamari authored
-
- Feb 20, 2024
-
-
Zubin authored
Metric Decrease: T13386
-
- Feb 19, 2024
-
-
(cherry picked from commit 69abc786)
-
- Feb 08, 2024
-
-
Fixes #24311 (cherry picked from commit 7e95f738)
-
The previous example didn't compile. Furthermore, it wasn't demonstrating the point properly. I have changed it to an example which shows that 'a' in the signature must be the same 'a' as in the instance head. (cherry picked from commit 7a90020f)
-
The -fno-info-table-map-with-stack flag omits STACK info tables from the info table map, and the -fno-info-table-map-with-fallback flag omits info tables with defaulted source locations from the map. In a test on the Agda codebase the build results were about 7% smaller when both of those types of tables were omitted. Adds a test that verifies that passing each combination of these flags results in the correct output for -dipe-stats, which is disabled for the js backend since profiling is not implemented. This commit also refactors a lot of the logic around extracting info tables from the Cmm results and building the info table map. This commit also fixes some issues in the users guide rst source to fix warnings that were noticed while debugging the documentation for these flags. Fixes #23702 (cherry picked from commit 261c4acb)
-
This is useful for seeing which info tables have information. (cherry picked from commit cc52c358)
- Jan 30, 2024
-
-
Zubin authored
Document the permissibility introduced by https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0170-unrestricted-overloadedlabels.rst (cherry picked from commit c247b6be)
-
- Oct 05, 2023
-
-
Rather than statically enabling breakpoints only for the interpreter, this adds a new flag. Tracking ticket: #23057 MR: !10466 (cherry picked from commit 083794b1)
-
- Sep 27, 2023
-
-
Ben Gamari authored
Closing #23988.
-
Ben Gamari authored
(cherry picked from commit 8f82e99f)
-
- Sep 25, 2023
-
-
Ben Gamari authored
Partially fixes #23988.
-
Ben Gamari authored
-
- Sep 18, 2023
-
-
The warning fires when inconsistent command line flags are passed. For example: * -dynamic-too and -dynamic * -dynamic-too on windows * -O and --interactive * etc This is on by default and allows users to control whether the warning is displayed and whether it should be an error or not. Fixes #22572 (cherry picked from commit 21a906c2)
-
- Sep 15, 2023
-
-
The warning fires when inconsistent command line flags are passed. For example: * -dynamic-too and -dynamic * -dynamic-too on windows * -O and --interactive * etc This is on by default and allows users to control whether the warning is displayed and whether it should be an error or not. Fixes #22572 (cherry picked from commit 21a906c2)
-
Gergő Érdi authored
Based on @simonpj's draft and comments in !11117 (cherry picked from commit eaee4d29)
-
The example given in the SafeHaskell section uses an implementation of Monad which no longer works. This MR removes the non-canonical return instance and adds the necessary instances of Functor and Applicative. (cherry picked from commit 5a2fe35a)
-
- Sep 13, 2023
-
-
(cherry picked from commit a05cdaf0)
-
Ben Gamari authored
-
- Aug 22, 2023
-
-
Gergő Érdi authored
Add flag to `-f{no-}specialise-incoherents` to enable/disable specialisation of incoherent instances Fixes #23287 (cherry picked from commit 481f4a46)
-
Ben Gamari authored
The semantics of the `extlinks` attribute annoyingly changed in Sphinx 4. Reflect this in our configuration. See #22690. Fixes #23807. (cherry picked from commit 1726db3f)
-
Ben Gamari authored
As noted in #23818, some old distributions (e.g. Debian 9) only include `distutils` while newer distributions only include `packaging`. Fixes #23818. (cherry picked from commit d814bda9)
-
Ben Gamari authored
This reverts commit 291963af.
-