Repository activity
40458 results across all weeks
Wasm linker: fix several bugs
Instruction decoding:
Jérôme Vouillon (@vouillon)Wasm runtime performance improvements
Jérôme Vouillon (@vouillon)Wasm: split the toplevel function into smaller functions
The toplevel function of a large program can be huge, which makes optimizing compilers (Binaryen, TurboFan, ...) very slow, or even makes them fail.
Jérôme Vouillon (@vouillon)js_of_ocaml: only double-translate functions that may run below an effect handler
Jérôme Vouillon (@vouillon)wasm_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)Adding 5.4.1 as bootstrap compiler in ocaml variants opam file
This PR updates the bootstrap compiler to 5.4.1 keeping track with the changes in the OxCaml main branch.
Eduardo Souza (@udesou)Clean up the patches
a276ef2 introduced a spurious packages/notty-community/notty-community.0.2.4+ox2/notty-community.0.2.4+ox directory
David Allsopp (@dra27-js)oxcaml-compiler: fix dune-ignore patch
Looks like upstream has changed its implementation and now applying the patch fails.
Shun Ueda (@shunueda)oxcaml-compiler: update `ignore-opam.patch` to build under Dune.
I grabbed a nightly build of Dune following the merge of ocaml/dune#14544, which addresses #48.
Christian Persson (@saser)(DRAFT) Attach cmi paths to interface references
Based on #7028 (refactor-cu), which this PR's base branch is set to; only the last few commits are new here.
Zesen Qian (@riaqn)AFL-based fuzzer for CFG dominators
(This was on top of hwasilewskijs#2, which has now bee merged.)
Xavier Clerc (@xclerc)Add -reaper-rebuild: resume compilation from a .cmx file and a solution
This PR adds a separate rebuild invocation (-reaper-rebuild) to the compiler. It allows rebuilding (i.e., resuming the reaper from a solution) once -reaper-solve has been used to construct a solution file.
Simon Spies (@spiessimon)Add -reaper-solve: whole-program Reaper solve producing .ltosol files
This PR adds support for executing the solve part of link-time optimization in a separate ocamlopt invocation. That is, when invoked with -reaper-solve -o solution.ltosol a.cmx b.cmx, the compiler will retrieve the reaper data from a.cmx and b.cmx (compiled with -lto-support) and then execute the solve step of the reaper and write the result into solution.lt…
Simon Spies (@spiessimon)Add -support-lto: store the Reaper's LTO data in .cmx files
This PR adds the first piece of the link-time optimization machinery, the -support-lto mode. When -support-lto is passed, the reaper is not executed as normally. Instead, only the traverse pass is executed and the resulting intermediate representation is stored in .cmx files alongside other data for resuming in a separate process.
Simon Spies (@spiessimon)Add `%box` and `%unbox` primitives (alpha)
Add layout-directed box and unbox primitives. They are unsound and gated behind -extension layouts_alpha until we restore the "boxing invariant" among all type representations.
Zack Eisbach (@zackbach)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 `addr_` and `addr_imm_` pattern syntax
Adds parsing for addr_ and addr_imm_ patterns.
Benjamin Peters (@bn-peters)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 an operation sinking pass to SSA (Partial Dead Code Elimination)
This pull request add a an optimization pass to
Xavier Clerc (@xclerc)Add atomic ext_ptr and remove user atomics caml_domain_alone optimization
This PR implements the %unsafe_atomic_*_ext_ptr family of primitives, intended
Joe Kerrigan (@joe-kerrigan)