Repository activity
40458 results across all weeks
Bump the actions group across 1 directory with 4 updates
Bumps the actions group with 4 updates in the / directory: actions/checkout, ocaml/setup-ocaml, cachix/install-nix-action and zizmorcore/zizmor-action.
Dependabot (@dependabot)Calculate calling convention changes at solve time
This change moves the code to make decisions on calling convention changes from the start of the Reaper's rebuild phase (Rebuild.rebuild) to the end of it's solve phase (Unboxing_analysis.perform_analysis). The decisions get threaded through as extra fields in Unboxing_analysis.result.
Miriam Vellacott (@mirivella)Check configuration compatibility when reloading saved IR (CFG and linear)
.cmir-linear and .cmir-cfg files bake configuration-dependent code generation decisions into the saved instructions, while later stages consult the configuration of the process that reloads the file: Emit computes frame sizes and stack-slot offsets from
Xavier Clerc (@xclerc)Check for new XXX comments in CI
In the spirit of the 80-character check, make sure no PR introduces a change that adds an XXX comment. Such comments aren't themselves a problem, of course, but usually they indicate that someone meant to address something before they made a PR.
Luke Maurer (@lukemaurer)Claude workflows: broaden the tool allowlist to unrestricted Bash
What
Jacob Van Buren (@jvanburen)Clean #includes in the runtime
Three commits to improve the hygiene of #includes in the runtime:
Nick Barnes (@NickBarnes)Collapse kind-templated closures
Collapse kind templated closures from fun env -> fun args -> body to fun env args -> body. It also bans anything other than a function definition on the right hand side of a let poly_ f =, this is probalby overly strict but it's hard to nail down semantics for anything else and we can always relax this in the future.
Jack Rickard (@Skepfyr)Compute availability ranges for phantom variables
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)Copy operation
Implements the copy operation in the solver, to be used later for instantiation.
ainageorgesCurry mode without using the argument
Previously, in a curried function fun a () -> ... , the parameter a 's full mode was fed into close_over, so an argument's monadic mode (e.g. unique, uncontended, read_write) forced the inner closure to a its dual mode (in this case once, nonportable, stateful) even when a was never used in the body of the function.
ainageorgesDatalog-based validator for cfg_simplify
I introduce a simple Z3 Datalog-based validator for the Eliminate_dead_code pass from cfg_simplify. It was tested not to have false negatives by running the compiler with the validator on the compiler itself. When unreachable nodes existed (checked by passing -no-cfg-eliminate-dead-trap-handlers) the validator noticed this as expected.
hwasilewskijsDelete some old runtime4 build files that were accidentally committed
Committed with (#5103), but they were removed from the .gitignore in (#6218)
James Rayman (@jra4)Do naive dependency graph merging in the -reaper-solve entrypoint
The -reaper-solve entry point now reads dependency graphs from input .cmr files and unions them, but without getting rid of the unknown use/source indicators at module boundaries.
Miriam Vellacott (@mirivella)Do not link never-returning branches to join blocks in Sub_cfg
Part of the dwarf202607 series, but a self-contained backend fix for a latent bug, so it is parented directly to main. (It was originally applied to #6517's branch, postdating that PR's review; it has been reverted there and moved here.)
Mark Shinwell (@mshinwell)Enable --enable-oxcaml-dwarf-on-compiler by default
Makes --enable-oxcaml-dwarf-on-compiler (compiling the compiler and standard library with OxCaml DWARF) the default. It can be turned off with --disable-oxcaml-dwarf-on-compiler.
Mark Shinwell (@mshinwell)Encode DWARF_BREF_OFFSET as signed SLEB128 value
Reopening #6021 as requested @dra27-js
Tim McGilchrist (@tmcgilchrist)Experimental implementation of "inject"
This PR adds runtime value injection for quotes (Eval.inject), allowing values to be spliced into quoted expressions that are evaluated in the context of the current program execution, together with the compiler support needed to preserve optimisation information across the two compilations involved. The design and remaining milestones are recorded in inject…
Mark Shinwell (@mshinwell)Expose Typemode errors for structured diagnostics
Why this information is needed
Gavin Gray (@gavinleroy)Expose modality implications for structured diagnostics
Gavin Gray (@gavinleroy)Expose structured diagnostics from compiler and Merlin
Summary
Gavin Gray (@gavinleroy)