Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    Run Cfg_merge_blocks after Cfg_stack_checks

    Cfg_merge_blocks redirects the predecessors of a merged-away block to its surviving twin; when the twin is inside a loop whose header keeps a distinct external entry, this creates a second entry into the cycle, making the CFG irreducible. The pass previously ran while allowed_to_be_irreducible was still false on the stack-checks-enabled path (the default), s…

    Xavier Clerc (@xclerc)
  2. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    Skip the Cmm helper equality checks in the presence of debug constructs

    Part of the dwarf202607 series, but self-contained: the Cmm debug constructs (Cphantom_let, Cname_for_debugger) and the transitional check_equal_* harnesses are already on main, so this is parented directly to main.

    Mark Shinwell (@mshinwell)
  3. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    Static functor transl, fracture and eval

    This PR adds support for static functors by adding the notion of templates, these are similar to the existing kind templates but their arguments exist both at compile-time and at runtime. This does not support partial application or overapplication of static functors, I'm planning to implement that after merging fracturing and eval. This is more restrictive …

    Jack Rickard (@Skepfyr)
  4. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    Support all-void constructors represented as blocks

    Currently, constructors whose arguments are all-void require the attribute [@immediate_all_void_constructor], and such constructors are represented as immediates. In this PR, we allow the attribute to be omitted, in which case such constructors are represented as empty blocks (statically-allocated atoms).

    Ryan Tjoa (@rtjoa)
  5. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    Temp: turn on mode poly by default

    ainageorges
  6. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    To_cmm: bind residual phantom-mode free variables as empty phantom lets

    Part of the dwarf202607 series; stacked on #6519 (split out so that it can be reviewed separately, as it postdates that PR's review).

    Mark Shinwell (@mshinwell)
  7. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    Track constants and field projections in register availability

    This PR is part of the dwarf202607 series (24 PRs) adding end-to-end DWARF debugging improvements for code compiled with Flambda 2: phantom lets so the debugger can print optimised-out variables, correct attribution of parameters and variables to inlined frames, and DWARF call site information.

    Mark Shinwell (@mshinwell)
  8. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    Track variables needed by phantom lets via a third user-visibility state

    Part of the dwarf202607 series; stacked on #6509. (Earlier iterations — synthetic naming operations during selection, a mutable visibility field on Variable.t, and fresh variables with renaming — are superseded; see the commit history.)

    Mark Shinwell (@mshinwell)
  9. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    Translate Flambda 2 phantom lets to Cmm

    This PR is part of the dwarf202607 series (24 PRs) adding end-to-end DWARF debugging improvements for code compiled with Flambda 2: phantom lets so the debugger can print optimised-out variables, correct attribution of parameters and variables to inlined frames, and DWARF call site information.

    Mark Shinwell (@mshinwell)
  10. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    Type-directed disambiguation of unit/unit# in statements

    @jra4: This can be done is a separate PR if desired. Unlike, Texp_sequence/for/while, Texp_ifthenelse does not have a parameter for the sort of its subexpression, so adding support would touch a lot of code.

    James Rayman (@jra4)
  11. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    Update/fix regalloc.exe for copy propagation

    This pull request fixes regalloc.exe to

    Xavier Clerc (@xclerc)
  12. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    Use constant propagation to rewrite CFG operations

    (Only for illustration at this point;

    Xavier Clerc (@xclerc)
  13. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    Use ikind provenance for declaration bound errors

    This PR improves kind errors for type definitions (type t : bound = RHS) with kind annotations.

    julesjacobs
  14. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    Very large frames need stack checks even when no_stack_checks

    When stack-checks are disabled, we use a memory-protected "guard page" to catch stack overflow. However, functions with stack frames of more than one page can skip over this guard page and crash. So we should retain stack checks on such functions (this is a very few functions, generally huge and time-consuming, so another few instructions on function entry a…

    Nick Barnes (@NickBarnes)
  15. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    Write and read .ltosol files, not yet containing actual solutions

    The -reaper-solve entrypoint is modified to create .ltosol files, which at the moment contain just the following:

    Miriam Vellacott (@mirivella)
  16. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    [CI demonstration] Reduce frametable size + llvmize CI fixes (#6399 + NickBarnes#1)

    Not for merging — this is #6399 (NickBarnes:frametable-rearrange) plus the two CI fixes proposed in NickBarnes#1, opened as a draft solely to demonstrate the frame-pointers llvmize-tests job going green, since fork PRs get no CI runners.

    julesjacobs
  17. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    [DRAFT] Bidirectional type checking for applications

    Import ocaml/ocaml#285. Fix some metaprogramming issue?

    dkalinichenko-js
  18. IssueW34.2026 · 17–23 Augoxcaml/oxcaml

    `[@zero_alloc]`: "called function may allocate" when the real cause is `-opaque`

    Summary

    Andre Taki (@andretaki)
  19. IssueW34.2026 · 17–23 Augoxcaml/oxcaml

    `dune runtest` fails on any project whose expect tests live in a subdirectory

    Summary

    Andre Taki (@andretaki)
  20. Pull requestW34.2026 · 17–23 Augoxcaml/oxcaml

    flambda2: inline the hash in Table_by_int_id

    Use an inline multiply-shift instead of caml_hash for bucket placement. Ids and equality don't depend on the bucket hash, and the table has no iteration, so output is unchanged.

    julesjacobs