Repository activity
40458 results across all weeks
Forward `[@inlined]` attribute on stubs
This patch fixes the use of [@inlined] on stubs (in particular functor coercions, but also other stubs such as [@unboxable] functions and different kinds of partial applications).
Basile Clément (@bclement-ocp)Freeze & shift dynamic tables
(wip)
Max Slater (@TheNumbat)Functional mode polymorphism
Integrates all the level-relation operations into type inference to support mode polymorphism. Mode polymorphic variables are functional, and can be printed behind a dedicated extension flag (see below).
ainageorgesFurther DWARF improvements for variables and inlined frames
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)Fuse float-comparison tagging into a single operation (amd64)
Materializing a float comparison as a tagged boolean previously
Xavier Clerc (@xclerc)Generalize and generalize structure
Added the generalize and generalize_structure operations, which takes all mode variables above the current level and sets them to the general level.
ainageorgesGet rid of useless [let x = x] bindings from dataflow
These have been annoying me for a while and I finally stumbled upon the place where they are generated, so, they are gone now.
Basile Clément (@bclement-ocp)Handle exceptions: distinguish noalloc and noalloc_strict
zhizhuoxinHeap extension
This is a first cut at implementing "heap extensions". It adds this function to (the CAML_INTERNAL part of) the runtime API:
Nick Barnes (@NickBarnes)Implement atomic pointer primitives
Implement the following new primitives operating on atomic pointers:
Joe Kerrigan (@joe-kerrigan)Implement missing `idx_atomic` operations
Idx_atomic was missing some operations supported by Atomic.t / Atomic.Loc.
Joe Kerrigan (@joe-kerrigan)Improve argument_types_useful check
The argument_types_useful check is intended to improve compilation times by skipping speculative inlining if the argument types are not "useful".
Basile Clément (@bclement-ocp)Improve compiler optimizations
build on this work to implement new compiler optimizations.
Jacob Van Buren (@jvanburen)Improve flag parsing check
This PR prevents you from needing to modify a Merlin test after adding a new flag.
Liam Stevenson (@liam923)Improve mode implication inference
Infer implied axes even if the implying axis annotation is present where possible. Allow:
dkalinichenko-jsImprove performance of debug info generation
Building on #5111, this PR improves the performance of the debug info generation by introducing additional caching. In particular, it generalizes caching to apply also to non-empty environments, avoiding performance cliffs for files that use shapes in non-empty environments.
Simon Spies (@spiessimon)Improved compilation of match-in-match
Mark Shinwell (@mshinwell)Include Merlin in compiler install
This PR is still far from being ready for review. I'm only creating it to get CI to run.
Liam Stevenson (@liam923)Increase fidelity levels of debug info
Building on #5124, we can now increase the fidelity of the debug information. Specifically, the current fidelity options (low, medium, high, very-high, and ultra-high) use values for the different configuration options that are too conservative. This PR bumps their values as described in the following table:
Simon Spies (@spiessimon)Instance type constructor arguments in typeopt
Yet another attempt at doing this without wrecking performance. This time, generalize the existing approach Typeopt takes for unboxed products to other types. Also, force optional arguments to be scannable in Typetexp since it's no longer caught by a later check.
dkalinichenko-js