Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Structured mangling: number anonymous functions instead of embedding positions

    Previously, the mangled names for lambdas and anonymous modules contained their exact

    Kevin Svetlitski (@Svetlitski)
  2. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    TMC now closes regions before recursing

    Previously, TMC annotated functions that had local allocation failed to close the region before recursing, leading to these functions using unbounded stack space. This commit changes the TMC pass to attempt to close the region when safe to do so. In the event it's not safe, we now raise a warning instead of silently producing a function that behaves unexpect…

    Aaron Eline (@aaronjeline)
  3. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Track -opaque imports by implementation

    Based on main; independent of the Compilation_unit_intf stack.

    Zesen Qian (@riaqn)
  4. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Track never-returning functions in Flambda

    Introduce a new Unknown case to Flambda_arity.t, and represent function returns with [Unarized | Unknown] Flambda_arity.t. Use Unknown arity for never-returning functions, and use caller's arity information when calling them.

    dkalinichenko-js
  5. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Type checking and parsing for dereference patterns `deref_`

    deref_ patterns allow you to reference the address of a record field or tuple:

    Benjamin Peters (@bn-peters)
  6. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Uniqueness analysis: borrowing a field blocks unique use of its parent

    The uniqueness analysis accepted a unique use of a value while one of its fields was explicitly borrowed:

    Zesen Qian (@riaqn)
  7. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Update stdlib raise functions to return `any`

    e7f276a:

    dkalinichenko-js
  8. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Use `stdlib/stdlib.ml`, in the locations for stdlib modules

    Parks the commit added in #7632 (comment), as it creates quite bit of churn, and some of the implications for merlin and friends need checking.

    David Allsopp (@dra27-js)
  9. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Use indirect-call tracking logic for arguments as well as symbols

    TL;DR: track whether we're calling a function argument when making an indirect call

    Will Sturgeon (@wrsturgeon)
  10. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Use lld to link the compiler

    The LLVM linker is widely installed and about 10x faster at linking the compiler than the GNU one. So we should use it, if available.

    Stephen Dolan (@stedolan)
  11. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    [5.4] Import upstream's runtime header hygiene changes

    Backport various 5.5 PRs, principally led by @MisterDA, so we can perhaps chase our C++ tails a little more easily.

    David Allsopp (@dra27-js)
  12. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    [Draft] Specialisation primitive

    This PRs introduce a specialization primitive (called Unboxed_closure for historical reasons, this will be changed in the future), meant to be generated by the reaper when lambda-lifting to allow the lifted closures to be specialized on their value-slots-turned-parameters if Simplify runs through the code initially containing the set of closures again (typic…

    Vincent Laviron (@lthls)
  13. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    [Ignore] For CI (rtjoa.scratch-on-52m6-lub)

    Ryan Tjoa (@rtjoa)
  14. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    [TEST] To_cmm: mark calls that never return

    dkalinichenko-js
  15. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    [WIP] Annotate the stdlib with statefulness

    dkalinichenko-js
  16. IssueW43.2026 · 19–25 Octoxcaml/oxcaml

    `-Oclassic -flambda2-expert-inline-effects-in-cmm`: `let f x = let y = sin x in (y, y)` fails with "Duplicate order for bindings when flushing"

    Program (prog.ml)

    Alperen Keleş (@alpaylan)
  17. IssueW43.2026 · 19–25 Octoxcaml/oxcaml

    `-Oclassic -flambda2-expert-inline-effects-in-cmm`: a call used as the argument of another call inside a `try` crashes ocamlopt with `Invalid_argument("Array.iter2 ...")`

    Same crash site as #7668, but different problem; #7669 does not fix it (checked on aadb380 + #7669).

    Alperen Keleş (@alpaylan)
  18. IssueW43.2026 · 19–25 Octoxcaml/oxcaml

    `-use-ssa`: SSA validator rejects `x <= 1` against `x < 2` for the same switch, compilation aborts with "CFG comparison MISMATCH"

    Program (prog.ml)

    Alperen Keleş (@alpaylan)
  19. IssueW43.2026 · 19–25 Octoxcaml/oxcaml

    `-use-ssa`: a call followed by an unused pure operation becomes a tail call only in the SSA pipeline, validator aborts with "CFG comparison MISMATCH"

    Program (prog.ml)

    Alperen Keleş (@alpaylan)
  20. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    `[@elide_void]` attribute for `external`s

    Add an attribute that allows the frontend to elide arguments with void layout passed to externals.

    David Vulakh (@dvulakh)