G
This adds native Windows AArch64 support to GHC, plus CI jobs to build and test it. Changes RTS linker: support ARM64 relocations in the PE/COFF linker. AArch64 NCG: align data labels to their most-aligned item. configure: support building natively on Windows AArch64. ghc-pkg: expand ${pkgroot} in library-dirs-static. hadrian: compare GHC versions numerically in RunTest, and retry the build on Windows AArch64. lint-codes: find the testsuite using a relative path. Toolchain: add a script to…
G
Oh right TcRnMessage can't be a GADT as then we can't have deriving Generic. So it'd have to be a data family: type TcRnMessage :: MessageLocation -> Type data family TcRnMessage loc data instance TcRnMessage NotLocated where ... deriving Generic data instance TcRnMessage Located where ... deriving Generic
G
@luite I've rebased this on master and the pipeline is green. Could you take a look when you have time? Could someone with permission also apply user-facing? TSOClosure gains a field (see my comment above).
G
@sheaf I've addressed your comments and squashed the branch into three commits: haddock-test: Dump the no-compilation output, not the one-shot one Keep the structure of a module that re-exports itself (#25897) haddock: Inline a re-exported hidden module (#25897, #27996) The pipeline is green. Could you take another look?
G
Mikolaj Konarski (02495b9a) at 11 Nov 07:42 Document behaviour of the NCG's CFG, layout and register allocators ... and 61 more commits
G
Thanks for going through this in such detail @sheaf! I much appreciate that. I have rebased and pushed a new version. I hope I have addressed the issues. Notes and comments. Note [Cmm target attributes] is basically your rewrite adapted to the new syntax, and I rewrote the user guide entry so it no longer talks about the RTS. The comments that documented the past are gone (GHC.Cmm, Jumps.h, genapply, Hadrian), and Note [AutoApply.cmm for vectors] is now the only place that explains the RTS…
G
Backports for: !15938 !15805 !15945 !15907 !16208 !15995 !16264 !16316 !16325 !15707 !16406 !16479 !16419 !16592 !16696 !16297 !16648 !16726 !16734 !16743 !16623 !16748 !16710 !16746 !16754 !16771 !16785 !16714 !16566 !16729 !16719 !16765 !16638 !16838 !16522 !16747 !16842 !16873 !16849 !16861 !16929 !16923
G
I re-ran the measurements from my #9809 comment against this MR: 19ff36f2 (master) vs. fdc84815 (this MR on top of it), aarch64 macOS. The program forks 100,000 threads, each doing one of the following, and reports total memory (MiB, five runs): what each thread does master -N1 MR -N1 master -N4 MR -N4 nothing 14 14 30–32 30 atomicModifyIORef' on a shared Int 6 6 132–214 21–227 atomicModifyIORef' inserting into a shared IntMap 70–106 60–95 241–253 241–250 registerDelay 10 (the #9809 case) 13–15…
G
I will attempt to batch this MR (!16977)...
G
I will attempt to batch this MR (!16977)...
G
I will attempt to batch this MR (!16977)...
G
I will attempt to batch this MR (!16977)...
G
I will attempt to batch this MR (!16977)...
G
I will attempt to batch this MR (!16977)...
G
I will attempt to batch this MR (!16977)...
G
I will attempt to batch this MR (!16977)...
G
I will attempt to batch this MR (!16977)...
G
Marge Bot (dd1ccc17) at 11 Nov 03:23 EPA: Use AnnList in HsMultiIf ... and 15 more commits
G
testsuite/README: Don't append new tests at the end of all.T Patches that each add a test at the end of the same all.T conflict with each other. Tests added elsewhere in the file usually merge cleanly. Context: #26285 Assisted-by: Claude Opus 5.5 My hope is that agents will notice this and get it right. Context: #26285, discussion with @luite on Matrix.
G
Simon Jakobi (0a0935a3) at 06 Nov 21:40 testsuite/README: Don't append new tests at the end of all.T
G
The fix is fairly simple but also not completely trivial. @hsyl20 or @AndreasK do you want to have a look before i assign to marge?
G
I think it's quite helpful documentation to see perf improvements when reading commit messages. Yes. One aspect here is that these lists of metric increases and decreases are incomplete because they depend on which CI jobs ran in the original MR. If you enable CI for the JS backend, you may have to add more tests to the list. Maybe we could replace the list of metric decreases (performance improvements) with something like Metric Decrease: [Several] or Metric Decrease: T123 This way, you'd have…
G
I hit this in my library FuryKernel, with GHC 9.12.3 on aarch64-darwin and -O1 -fno-cse -fno-full-laziness. There it also shows up as a compile-time panic, which looks like the I# ww application from the description reaching applyTypeToArgs: panic! (the 'impossible' happened) GHC version 9.12.3: applyTypeToArgs Expression: I# ww_s1GBn ipv2_a6PZ Type: Int# %1 -> Int Args: [ww_s1GBn, ipv2_a6PZ] Args': [ipv2_a6PZ] To reproduce, at commit f18aa71, in the repository's nix develop shell: ghc --make…
G
GlaHiCo report: https://gitlab.haskell.org/sjakobi/GlaHiCo/-/snippets/6303
G
GlaHiCo report, as requested: https://gitlab.haskell.org/sjakobi/GlaHiCo/-/snippets/6302
G
I think it's quite helpful documentation to see perf improvements when reading commit messages. On the other hand, I think if two commits improve a test by +1.5%, then the batch will fail, which is a shame (right? or this sort of thing can happen), and that can be quite annoying.
G
Actually I think the bytecode libraries stuff enables this. I just need to test to make sure