Repository activity
40458 results across all weeks
ocaml-compiler-libs: compile in the repo
✅ Rebasable and squashable
Robin Ricard (@rricard)ocaml-compiler-libs: subtree
⚠️ DO NOT REBASE OR SQUASH
Robin Ricard (@rricard)ppxlib: apply patching
✅ Rebasable and squashable
Robin Ricard (@rricard)ppxlib: compile in the repo
✅ Rebasable and squashable
Robin Ricard (@rricard)ppxlib: subtree
⚠️ DO NOT REBASE OR SQUASH
Robin Ricard (@rricard)ppxlib_jane: compile into repo
✅ Rebasable and squashable
Robin Ricard (@rricard)ppxlib_jane: subtree
⚠️ DO NOT REBASE OR SQUASH
Robin Ricard (@rricard)reaper: allow changing the representation of blocks
This allows the reaper to change the representation of blocks as well; most of the changes consist in types and subkind rewriting. There is a new -X flag: -X reaper-change-block-representation=never/symbols/always: with never (default), the current behaviour is kept, with symbols, only symbols may have their representation changed, with always, every block c…
Nathanaëlle Courant (@Ekdohibs)reaper: answer rebuild's queries at solve time
This is a cleaned-up version of #7222.
Nathanaëlle Courant (@Ekdohibs)reaper: make rebuild take [rewrite_kind_with_subkind] as parameter
In preparation for link-time optimization, this PR moves the rewriting of types to the rebuild phase and keeps the rewriting of kinds in the solve phase.
Simon Spies (@spiessimon)reaper: parameterise the analysis by an analysis scope
This PR introduces the concept of an analysis scope in the reaper in preparation for link-time optimization. When doing link-time optimization, the reaper is no longer analyzing a single unit but instead a collection of compilation units. This requires making several parts of the analysis parametric over the scope it is running in.
Simon Spies (@spiessimon)reaper: prevent miscompilations with -no-reaper-unbox
With -no-reaper-unbox but not -no-reaper-change-calling-conventions, the calling-convention-changes analysis was not run since #6999, and all functions were expected to have calling conventions that could be changed. This was of course not the case, and could lead to segfaults.
Nathanaëlle Courant (@Ekdohibs)reaper: rebuild several units per -reaper-rebuild invocation
This PR adds support for rebuilding in batches to the -reaper-rebuild command.
Simon Spies (@spiessimon)reaper: rewrite types and subkinds in a similar way
This is in preparation for the changing of representation of blocks. The larger part of the changes are in the changes of the rewriting of kind_with_subkind; the rest is just code moving and a few renames.
Nathanaëlle Courant (@Ekdohibs)rricard.externals.compile via dune
Stack created with GitHub Stacks CLI • Give Feedback 💬
Robin Ricard (@rricard)sedlex: apply patching
✅ Rebasable and squashable
Robin Ricard (@rricard)sedlex: compile into the repo
✅ Rebasable and squashable
Robin Ricard (@rricard)sedlex: subtree
⚠️ DO NOT REBASE OR SQUASH
Robin Ricard (@rricard)translmod: check arg_param when projecting arg blocks
Split from #6912: project_arg_block now checks that the argument unit was compiled -as-argument-for the parameter slot being filled. A mismatch is only reachable with stale artifacts (objects are read without consistency checks against the cmis), hence a fatal error for now — CR'd to become a user error.
Zesen Qian (@riaqn)Community digest
OCaml changes with module type precedence so T with module type T = T -> T now groups as T with module type T = (T -> T), breaking existing code that relied on the old grouping. Dune makes generated files always read-only, removing the pre-2.4 language-version opt-out for writable generated files.