Repository activity
40458 results across all weeks
js_of_ocaml: only double-translate functions that may run below an effect handler
Jérôme Vouillon (@vouillon)ppx_devtools: decouple and rename the in-tree ppxes (#2551, phase 1)
Phase 1 of #2551: decouple the in-tree ppxes from js_of_ocaml and give them public names, before extracting them to their own repository.
hhugowasm_of_ocaml: support --effects=double-translation
Functions are compiled in direct style, and the functions that may be involved in the handling of effects (see Partial_cps_analysis) also get a CPS version, as with js_of_ocaml. Both versions share a single closure, whose type is a subtype of the direct-style closure type of the same arity: it holds the direct-style code pointers followed by the code pointer…
Jérôme Vouillon (@vouillon)Address patterns `addr_` and `addr_imm_`
Add address patterns to dereference addresses while matching:
Benjamin Peters (@bn-peters)(DRAFT) Record cmx locations under `-persistent-deps`
Stacked on #7031.
Zesen Qian (@riaqn)-flambda2-match-in-match: Variable unboxed_field_0 not expected to be free in whole-compilation-unit term
Program (foo.ml)
Ethan Chou (@echoumcp1)ARM64: fix float32 immediate exponent decoding
ARM64 float32 immediate selection decodes the exponent with a 7-bit mask and a bias of 63. Use the IEEE 754 binary32 exponent mask (0xFF) and bias (127), matching the existing -3..4 range check.
ArceniyVarlamovAdd ASCII fast path to Utf8_lexeme.(un)capitalize
Add ASCII fast path to Utf8_lexeme.(un)capitalize
Alec Singer (@alecsinger)Add `Unmentionable` visibility for transitive deps of `-functorize` bundles
A -functorize bundle has to include the transitive dependencies of its inputs, since other bundled modules alias into them, but users should not be able to name them. Until now they were bound under a DEP__ prefix as a deterrent.
Zesen Qian (@riaqn)Add `returns : bool` to `Capply`
This mirrors Cextcall. This is useful for a subsequent PR that implements machtype checking, as some expressions generated by the reaper never return and aren't given a compatible machtype.
James Rayman (@jra4)Add empty-loop deletion and bounds-check elimination to the SSA pipeline, proved in Rocq
Two passes over finished SSA graphs, both off by default, take their decisions from OCaml extracted from a Rocq development that proves those decisions sound.
Mark Shinwell (@mshinwell)Allow unrepresentable types in module signatures
Addresses internal ticket 7996.
Joe Kerrigan (@joe-kerrigan)Bytecomp cache event dirs
Compute debug directories once per source path in Emitcode
Alec Singer (@alecsinger)Check CFG register equations at the explicit entry
After #7836, we know a CFG can
Xavier Clerc (@xclerc)Constant propagation in classic mode
Vincent Laviron (@lthls)Defunctionnalisation of rebuild / after_rebuild
Pierre Chambart (@chambart)Draft PR for #6538 ([arm64] generate `stlr` instead of `dmb ishld; str`)
This PR implements small fixes on top of #6538. Namely:
yusumez-jsDrop the compile-time consistency check; record transitive imports by name
A variant of #6660. Based on main.
Zesen Qian (@riaqn)FDO: Declare counters for new FDO implementation
(This stack vaguely follows a vibe-coded prototype for a new FDO implementation, see #7395)
yusumez-jsFDO: Insert counters during closure conversion
Adds Fdo_instrumentation, which inserts callsite and branch counters.
yusumez-js