Repository activity
40458 results across all weeks
datalog: Add output opcode
This folds the computation of output tables (which was previously done
Basile Clément (@bclement-ocp)datalog: Automatically fuse copy loops into union opcodes
Consider the following Datalog rule:
Basile Clément (@bclement-ocp)datalog: Get rid of unnecessary `Value` module
A Value is essentially a type-erased Column with extra ceremony; it mostly increases complexity without benefit, so let's drop it.
Basile Clément (@bclement-ocp)datalog: Make provenance its own separate atom
This removes the weird reverse dependency from Schedule to Datalog
Basile Clément (@bclement-ocp)datalog: Use a more conventional bytecode for execution
The existing virtual_machine.ml module uses a somewhat alien execution model for no good reasons, with an explicit stack and external GADTs constraints that get in the way of implementing more efficient instructions.
Basile Clément (@bclement-ocp)dependabot: assign bump PRs to jvanburen, check monthly
Assign the grouped GitHub Actions bump PR to jvanburen, and change the check interval from weekly to monthly.
Jacob Van Buren (@jvanburen)feat: allocation mode axis (`alloc`/`noalloc`/`noalloc_strict`)
Will Sturgeon (@wrsturgeon)flambda2: Rewrite switch with single arm to apply_cont
This makes them seen as inlinable uses in the downwards pass.
Basile Clément (@bclement-ocp)functorize: fix arg-block projection on mixed module blocks
Passing a parameterised -as-argument-for unit with unboxed exports (a mixed main block) as a compound argument makes the bundle project the arg block with a plain Pfield; flambda2 flags the value/flat mismatch and the program traps at run time.
Zesen Qian (@riaqn)libraries on nix
Distribute the libraries on nix
Robin Ricard (@rricard)ppxlib_jane: compile into repo
✅ Rebasable and squashable
Robin Ricard (@rricard)ppxlib_jane: compile into the repo
✅ Rebasable and squashable
Robin Ricard (@rricard)ppxlib_jane: subtree
⚠️ DO NOT REBASE OR SQUASH
Robin Ricard (@rricard)ppxlib_jane: subtree
⚠️ DO NOT REBASE OR SQUASH
Robin Ricard (@rricard)reaper: add flag to prevent lambda-lifting
With -X reaper-no-lambda-lifting=1, the reaper will not perform lambda lifting, although it will still unbox closures that have been inlined.
Nathanaëlle Courant (@Ekdohibs)reaper: avoid crash when a result of a never returning apply is unboxed
Nathanaëlle Courant (@Ekdohibs)reaper: ensure all subkinds are rewritten correctly
I think this can't cause a miscompilation for now, because the reaper now uses flambda's poison value which is an unknown type. However, it will start to cause problems once we change the representation of blocks, so we need to fix it first.
Nathanaëlle Courant (@Ekdohibs)reaper: make it possible to delete unused results of functions
It's a bit unfortunate this wasn't done before, as it allows deleting the return value of a lot of unit-returning functions, which would otherwise contain an almost-useless instruction to load 1 into %rax at the end of their code.
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)