Repository activity
40458 results across all weeks
`ocamlopt -Oclassic` crashes on a `float#` field read in an unreachable match arm
Program (repro/prog.ml, LLM-shrunk from original/)
Alperen Keleş (@alpaylan)`ocamlopt -Oclassic` crashes on a division by constant zero inside a `try`
Program (repro/prog.ml)
Alperen Keleş (@alpaylan)add `[@zero_alloc conditional]` to check that every allocation comes from calling an argument
Functions like List.iter, which don't allocate themselves but take callbacks that may allocate, are [@zero_alloc conditional]. Also, the backend checker can now prove that e.g. List.iter ~f:ignore is non-allocating, even without conditional.
Will Sturgeon (@wrsturgeon)add break statements to loops
Add support for break_ statements inside for and while loops. Notes:
jwshiiallow `caml_apply*` in conditional zero-alloc reasoning
Will Sturgeon (@wrsturgeon)allow zero-alloc backend to reason about call sites whose callees are conditionally nonallocating
Will Sturgeon (@wrsturgeon)amd64: add -align-loops to 16-byte-align loop headers
Emit ".align 16" (nop fill) before loop header labels, so that small hot loop bodies do not straddle a 64-byte cache line boundary. AMD Zen 4 can only fetch from a single 64-byte cache line per cycle, so a 16-byte loop body crossing a 64B line runs at ~2 cycles/iteration vs ~1 when contained, making unrelated code motion flip hot loops between fast and slow …
Jacob Van Buren (@jvanburen)datalog: Add heterogenous maps of variables
Stack created with GitHub Stacks CLI • Give Feedback 💬
Basile Clément (@bclement-ocp)datalog: Allow arbitrary values in tables
This functionality is not used yet (outside of a test), but is necessary for some planned performance improvements in the modelling part of the reaper.
Basile Clément (@bclement-ocp)datalog: Allow binding variables to result of function calls
Basile Clément (@bclement-ocp)datalog: Automatically introduce copies
This PR adds the ability to transform a rule of the form:
Basile Clément (@bclement-ocp)datalog: Delay planning until the schedule is actually run
So that we don't pay the cost for the reaper on all invocations of ocamlopt.
Basile Clément (@bclement-ocp)datalog: Explicit separation of existential variables
The current implementation of existential variables is a bit dangerous
Basile Clément (@bclement-ocp)datalog: Improved stats for rules
The statistics are now embedded directly in the rule executor, ensuring zero-overhead (there is a bit more code in the executor's run function, but this should just cause a slightly larger jump table) when stats are disabled.
Basile Clément (@bclement-ocp)datalog: Improved stats for rules
The statistics are now embedded directly in the rule executor, ensuring zero-overhead (there is a bit more code in the executor's run function, but this should just cause a slightly larger jump table) when stats are disabled.
Basile Clément (@bclement-ocp)datalog: More robust and general computation of existentials
The existing computation of existential variables is limited to
Basile Clément (@bclement-ocp)datalog: Only evaluate rules for tables that were actually updated
Currently we compute the datalog schedule on a per-rule basis: each rule is evaluated for all the seminaive combination of its input tables. This means that we are doing unnecessary busywork for rules that have an empty diff for all their input tables.
Basile Clément (@bclement-ocp)feat(typing): add a `omnidirectional` language extension
Description
Alistair (@johnyob)feat(typing): omnidirectional mode crossing (lazy defaulting)
Alistair (@johnyob)feat(typing): schedulers, ivars and `Tivar`s for omnidirectionality
Description
Alistair (@johnyob)