Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Fix projections from non-`value` `[@@unboxed]` inline records

    For a [@@unboxed] inline-record constructor, the jkind on the declaration and the sort on the constructor are incorrectly always value, causing errors for programs such as:

    Ryan Tjoa (@rtjoa)
  2. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Fix record label recovery

    This fixes a bug in type recovery where unbound record labels would cascade into a mode error along staticity. The first commit demonstrates the bug, and the latter ones fix it.

    Liam Stevenson (@liam923)
  3. IssueW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Fix the places where apply_renaming don't share

    And add a test for that

    Pierre Chambart (@chambart)
  4. IssueW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Flambda2 fails to inline away optional argument wrappers

    When reviewing the testsuite, I noticed a test asmcomp/optargs.ml from upstream OCaml which is disabled in OxCaml. The relevant part is as follows:

    Stephen Dolan (@stedolan)
  5. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Flambda2: route recursive numeric adapters back to their worker

    An [@unboxable] recursive numeric worker can call its boxed wrapper at each iteration. The heuristic recursion-depth check rejects that wrapper before the normal stub-inlining decision. A single-accumulator recurrence consequently allocates four minor words per iteration and loses its tail call at O2/O3.

    mmm00007
  6. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Follow the relation variables and function parameters

    We want to know when the speculative inlining is probably useful. For that we want to track the relation between the arguments and their uses. This is a first step for tracking that relation.

    Pierre Chambart (@chambart)
  7. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Identify the CFG entry explicitly in CSE

    After #7836 guarantees no dead trap

    Xavier Clerc (@xclerc)
  8. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Improve warnings on `deref_` with unused variables

    This makes warnings on unused deref_ patterns more strict:

    Benjamin Peters (@bn-peters)
  9. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Int compare externals

    Declare Int_replace_polymorphic_compare operators as externals

    Alec Singer (@alecsinger)
  10. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Internal assembler: mark .rodata sections as allocated

    Internal assembler: mark .rodata sections as allocated

    Gustaf Rydholm (@aktersnurra)
  11. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    JSIR: ocamltest integration

    Makes ocamltest support JSIR so that we can have JSIR tests in the build system.

    Leo Lee (@smjleo)
  12. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    JSIR: pass in external call hints to JSOO

    JSOO now supports passing in optimisation hints in Extern calls so that it can generate more optimised code (see #7509). This PR passes these hints in the JSIR pass so that JSOO can take advantage of them. See the README for more details.

    Leo Lee (@smjleo)
  13. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    JSIR: small fixes to translation

    This PR makes two small changes to the JSIR translation.

    Leo Lee (@smjleo)
  14. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    JSIR: support effects

    This PR enables support for effects with JSIR, and re-enables the tests in effect-syntax, effects and effects-safe for JSIR.

    Leo Lee (@smjleo)
  15. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Layout poly - merge fracture and eval

    This merges the slambda fracturing and eval passes into one slambda pass, which means there's no longer a slambda IR either. This is mostly motivated by simplicity, trying to accurately model evaluation order etc in slambda was hard and writing it as one pass is arguably easier than having it as two.

    Jack Rickard (@Skepfyr)
  16. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    MacOS/ARM64: small-int stack args use a right-sized write

    On MacOS/ARM64, small integer arguments passed on the stack only consume their natural width of storage. At present, we write each one with a 32-bit write (and those writes are emitted in the right order to avoid overwrites). This PR changes that to use a right-sized write.

    Nick Barnes (@NickBarnes)
  17. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Make `'a box` cross as `immutable_data with 'a`

    Draft

    Zack Eisbach (@zackbach)
  18. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Make `Copaque` take a machtype payload

    This fixes a hidden bug in Select_utils.oper_result_type. Currently, all callers avoided the bug by special-casing Copaque or didn't rely on the incorrect answer. Those special cases have been deleted.

    James Rayman (@jra4)
  19. IssueW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Make a flambda_arity container

    There are a few new things that wants to match arguments to parameters (specialisation and param usefulness).

    Pierre Chambart (@chambart)
  20. Pull requestW44.2026 · 26 Oct – 1 Novoxcaml/oxcaml

    Make dead trap handler elimination unconditional

    As per title: over time elimination has

    Xavier Clerc (@xclerc)