Skip to content
Snippets Groups Projects
  1. Aug 28, 2023
    • sheaf's avatar
      .stderr: ScopedTypeVariables =/> TypeAbstractions · fadd5b4d
      sheaf authored
      This commit accepts testsuite changes for the changes in the previous
      commit, which mean that TypeAbstractions is no longer implied by
      ScopedTypeVariables.
      fadd5b4d
    • sheaf's avatar
      Remove ScopedTypeVariables => TypeAbstractions · 9eecdf33
      sheaf authored
      This commit implements [amendment 604](https://github.com/ghc-proposals/ghc-proposals/pull/604/)
      to [GHC proposal 448](https://github.com/ghc-proposals/ghc-proposals/pull/448)
      by removing the implication of language extensions
      
        ScopedTypeVariables => TypeAbstractions
      
      To limit breakage, we now allow type arguments in constructor patterns
      when both ScopedTypeVariables and TypeApplications are enabled, but
      we emit a warning notifying the user that this is deprecated behaviour
      that will go away starting in GHC 9.12.
      
      Fixes #23776
      9eecdf33
    • Zubin's avatar
      testsuite: Add regression test for #23864 · b6903f4d
      Zubin authored and Marge Bot's avatar Marge Bot committed
      Simon says this was fixed by
      
      commit 59202c80
      Author: Sebastian Graf <sebastian.graf@kit.edu>
      Date:   Fri Mar 31 17:35:22 2023 +0200
      
          CorePrep: Eliminate EmptyCase and unsafeEqualityProof in CoreToStg instead
      
          We eliminate EmptyCase by way of `coreToStg (Case e _ _ []) = coreToStg e` now.
          The main reason is that it plays far better in conjunction with eta expansion
          (as we aim to do for arguments in CorePrep, #23083), because we can discard
          any arguments, `(case e of {}) eta == case e of {}`, whereas in `(e |> co) eta`
          it's impossible to discard the argument.
      b6903f4d
    • Zubin's avatar
      testsuite: Add regression test for #23861 · 5248fdf7
      Zubin authored
      Simon says this was fixed by
      
      commit 8d686854
      Author: sheaf <sam.derbyshire@gmail.com>
      Date:   Fri Aug 4 15:28:45 2023 +0200
      
          Remove zonk in tcVTA
  2. Aug 27, 2023
  3. Aug 26, 2023
  4. Aug 25, 2023
  5. Aug 24, 2023
    • Finley McIlwaine's avatar
      Add a test checking overhead of -finfo-table-map · d3e0124c
      Finley McIlwaine authored and Marge Bot's avatar Marge Bot committed
      We want to make sure we don't end up with poor codegen performance resulting from
      -finfo-table-map again as in #23103. This test adds a performance test tracking
      total allocations while compiling ExactPrint with -finfo-table-map.
      d3e0124c
    • Finley McIlwaine's avatar
      Refactor estimation of stack info table provenance · d99c816f
      Finley McIlwaine authored and Marge Bot's avatar Marge Bot committed
      This commit greatly refactors the way we compute estimated provenance for stack
      info tables. Previously, this process was done using an entirely separate traversal
      of the whole Cmm code stream to build the map from info tables to source locations.
      The separate traversal is now fused with the Cmm code generation pipeline in
      GHC.Driver.Main.
      
      This results in very significant code generation speed ups when -finfo-table-map is
      enabled. In testing, this patch reduces code generation times by almost 30% with
      -finfo-table-map and -O0, and 60% with -finfo-table-map and -O1 or -O2 .
      
      Fixes #23103
      d99c816f
    • Antoine Leblanc's avatar
      Be more eager in TyCon boot validity checking · 1420b8cb
      Antoine Leblanc authored and Marge Bot's avatar Marge Bot committed
      This commit performs boot-file consistency checking for TyCons into
      checkValidTyCl. This ensures that we eagerly catch any mismatches,
      which prevents the compiler from seeing these inconsistencies and
      panicking as a result.
      
      See Note [TyCon boot consistency checking] in GHC.Tc.TyCl.
      
      Fixes #16127
      1420b8cb
  6. Aug 23, 2023
Loading