Repository activity
40458 results across all weeks
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)New Flambda -> Cmm phantom let translation scheme
Alternative to #6519's handling of phantom lets in To_cmm, for comparison with the reference-erasure scheme there. Part of the dwarf202607 series; stacked on #6822 (same base branch as #6519).
Mark Shinwell (@mshinwell)New shortpaths
This PR shouldn't be merged - I'm just making it to get the jane check to run.
Liam Stevenson (@liam923)Non-scanned layouts cross externality inherently rather than syntactically
We currently have a syntactic implication that non-value base layouts such as bits32, etc., imply mod external_ (#5162).
Ryan Tjoa (@rtjoa)Number uniqueness doc files to fix sidebar ordering
The docs site orders collection pages by filename, which put Borrowing before the uniqueness Intro. This renames the _07-uniqueness pages with numeric prefixes (as the tutorials and parallelism collections already do) so they read in order: intro, reference, pitfalls, borrow. Pure renames, no content changes; links are unaffected since the site strips the pr…
Zesen Qian (@riaqn)Pattern matching: support jump tables for unboxed values
(As per title; not reviewed yet.)
Xavier Clerc (@xclerc)Point caml_atom_<tag> symbols at the atom values
The atoms move into a contiguous caml_atom_table and each caml_atom_ symbol now names the value, one word past the header, instead of the header itself. This lets generated code refer to an atom by plain symbol reference in both AOT and JIT compilation. These symbols must never be dereferenced; the header is at minus one word.
Mark Shinwell (@mshinwell)Printing and hiding a mode polymorphic curry mode
This PR makes the following changes to the printer of mode polymorphic variables, all related to curry mode:
ainageorgesProfile find_in_pending_manifests calls
Follow-up to #6951: wraps the find_in_pending_manifests calls in Load_path with Profile.record_call ~accumulate:true, so time spent lazily loading pending hidden manifests shows up in -dprofile output alongside the existing load_visible_manifests / enqueue_hidden_manifests counters.
Zesen Qian (@riaqn)Read the Claude workflows' model and effort from repo variables
Both Claude workflows hardcoded --model claude-fable-5 and --effort xhigh in claude_args, so changing either required a PR. This reads them from the CLAUDE_MODEL and CLAUDE_EFFORT repository variables instead, which repo admins can change from Settings → Actions → Variables without a PR.
Jacob Van Buren (@jvanburen)Recompute `value_kind`s for records with `any`-fields
Compute better value_kinds for records containing any in value_kind_record. This improves codegen for records with any-fields.
Ryan Tjoa (@rtjoa)Record only direct dependencies in cmi import tables
The import table of a cmi now records only the units whose cmis were actually read during compilation, each with its own interface CRC, instead of the transitive closure of dependencies accumulated through a consistency table.
Zesen Qian (@riaqn)Record synchronized Merlin import for module type implementations
Second branch for the module type implementations worktree. external/merlin/scripts/import-ocaml-source.sh reported that Merlin was already synchronized, so this layer contains only the administrative synchronization commit.
Gavin Gray (@gavinleroy)Refactor `Target_system`
This PR refactors Target_system after cleaning up some dead code and duplication. The main changes are as follows.
shymRefactor lowering and add expect_asm tests for lowering of index-like atomic primitives
We currently expose three Lambda primitives for each atomic operation on block
Joe Kerrigan (@joe-kerrigan)Refactor: use lattice bounds in jkind normalization
Use lattice-valued ambient bounds to avoid axis-set skip conversions in jkind normalization.
julesjacobsRegister the source file as DWARF-5 line table file 0 on macOS
Seventh in the series (on top of #6926), fixing the .debug_line issue reported in this comment on #6923 — with one correction to that comment's analysis: the problem is independent of -gdwarf-version (and predates this stack entirely). The Apple assembler emits DWARF-5 line tables by default regardless of our flag, so the duplicate entry appears in DWARF-4…
Mark Shinwell (@mshinwell)Register the source file as DWARF-5 line table file 0 on macOS
Seventh in the series (on top of #6926), fixing the .debug_line issue reported in this comment on #6923 — with one correction to that comment's analysis: the problem is independent of -gdwarf-version (and predates this stack entirely). The Apple assembler emits DWARF-5 line tables by default regardless of our flag, so the duplicate entry appears in DWARF-4…
Mark Shinwell (@mshinwell)Relax idx_atomic kind constraint
We currently constrain the 'b parameter of an ('a, 'b) idx_atomic to kind value_or_null. Relax that constraint to any for consistency with other block index types. Update ptr_atomic accordingly.
Joe Kerrigan (@joe-kerrigan)Remove Typecore.Mode_mismatch
After #6249 Typecore.Mode_mismatch is not longer used
Gavin Gray (@gavinleroy)