Skip to content
Snippets Groups Projects
  1. Aug 25, 2023
  2. 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
  3. Aug 23, 2023
  4. Aug 22, 2023
  5. Aug 21, 2023
Loading