Repository activity
40458 results across all weeks
Join of only bottom environments is bottom
This was missed in #6348.
Basile Clément (@bclement-ocp)Kind-template module coercions
Implements module coercions for kind templates, enabling non-trivial subsumptions of layout-polymorphic module items.
Jakub Bachurski (@jbachurski)Lambda optimization of identical switch cases is unreliable
In lambda/matching.ml, we currently have an optimization to remove switches when all arms are the same expression. However, this is quite unreliable and breaks when the branches are different in subtle ways, even if they end up being the same later. For example, the following example uses field_mut vs mixedfield_mut in Lambda, while in Flambda2, the arms bec…
ttebbi-janestreetLazy import of int ids
Currently, we store a pair of (int id, data) for all the exported int-based identifiers (variables, symbols, continuations, etc.) in cmx files, and we import that data into the grand tables for the current compilation unit upon loading the cmx.
Basile Clément (@bclement-ocp)Lazy renaming during import
@bclement-ocp: #6754 #6759
Basile Clément (@bclement-ocp)Lexical dynamic parents
Adds the ability to freeze a dynamic binding scope and inherit it a child fiber.
Max Slater (@TheNumbat)Machtype checking
Adds another pass during cmm_invariants that traverses Cmm expressions and makes sure the machtypes of inputs and outputs of each operation are consistent with eachother.
James Rayman (@jra4)Merge switches to same destination with many arguments
This PR extends the existing mechanism for simplifying switches where all the arms have the same destination and a single argument to handle switches where all the arms have the same destination without restriction on the number of arguments.
Basile Clément (@bclement-ocp)Merlin merge conflicts
This PR adds instructions on how to deal with merge conflicts in the compiler frontend that occur after having already updated Merlin. In general, resolving these sorts of conflicts is a hard problem.
Liam Stevenson (@liam923)Miscellaneous additions to Dwarf_low and Dwarf_high
This PR is part of the dwarf202607 series (24 PRs) adding end-to-end DWARF debugging improvements for code compiled with Flambda 2: phantom lets so the debugger can print optimised-out variables, correct attribution of parameters and variables to inlined frames, and DWARF call site information.
Mark Shinwell (@mshinwell)Miscellaneous small cleanup items for debugging
This PR includes several smaller cleanup items:
Simon Spies (@spiessimon)Mode Variable Subsumption
This feature implements subsumption for polymorphic mode variables.
ainageorgesMode variable levels
Support levels in the mode solver.
ainageorgesMore complete type inference with `eval` and concrete types
Motivation
Jakub Bachurski (@jbachurski)Move merlin ci into build.yml
This PR migrates the Merlin CI check into the build.yml workflow. Merlin is still built and tested in a separate CI check from the checks that build and test the compiler.
Liam Stevenson (@liam923)Occurs check for sort variables
Currently, we do not perform an occurs check when unifying sort variables - possibly under the assumption that any problematic cases would be caught by the occurs check for type variables.
Ryan Tjoa (@rtjoa)One template instantiation per CU
Deduplicate template instantiations so there's only one per compilation unit.
Jack Rickard (@Skepfyr)Optimize csel/cmov better
Two optimizations for csel/cmov
ttebbi-janestreetPopulate real debugging metadata on bound variables and parameters
This PR is part of the dwarf202607 series (24 PRs) adding end-to-end DWARF debugging improvements for code compiled with Flambda 2: phantom lets so the debugger can print optimised-out variables, correct attribution of parameters and variables to inlined frames, and DWARF call site information.
Mark Shinwell (@mshinwell)Preserve debug information for additional pattern matches
This PR improves the debug information for pattern matches. For these, the compiler often introduces synthetic param parameters that up to now did now have type shapes associated with them. As a result, they had to use the fallback type when reaching the debugger.
Simon Spies (@spiessimon)