Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Remove unused stack slots before optional packing

    This pull request tweaks the implemetation

    Xavier Clerc (@xclerc)
  2. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Rename `terminator.Call_no_return` to `External_call_no_return`

    Trivial refactor. This is a better name for the terminator since it is used only for external calls.

    James Rayman (@jra4)
  3. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Rename cast constructors in Cmm

    Renaming constructors such as Int_of_value to Int64_of_value disambiguates between tagged ints and int64s. This is done ahead of adding cast operations between naked ints of different widths, and cast operations for tagging/untagging ints.

    James Rayman (@jra4)
  4. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Rename cast constructors in Cmm

    Changes int to int64 in cast names. This is preparing for when we add more int types to Cmm.

    James Rayman (@jra4)
  5. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Reuse allocation preparation on IRC fallback

    As per title: if we switch from IRC to

    Xavier Clerc (@xclerc)
  6. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    Run the compiler testsuite at -Oclassic and -O3

    Gbury

    Mark Shinwell (@mshinwell)
  7. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    SIMD layouts (128 bit)

    Mark Shinwell (@mshinwell)
  8. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    SSA: Don't fuse comparisons when they shouldn't be live at the terminator

    Cfg_of_ssa.fuse_comparison didn't check whether cond was live at the terminator it's being fused at, meaning if we had something like the following, v would be stale at the terminator after fuse:

    yusumez-js
  9. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    Segfault from an unboxed existential over `box`

    [| x; y |] segfaults when the element type is an existential over 'a box declared [@@unboxed]:

    KC Sivaramakrishnan (@kayceesrk)
  10. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Select frame pointers, stack checks, ASan and poll insertion per invocation

    One installed compiler now serves every codegen configuration of its target, selected per invocation, instead of one compiler install per configure combination. This covers the axes that default.nix exposed as build parameters: frame pointers, stack checks, AddressSanitizer and poll insertion. Multidomain stops being a build axis altogether.

    Jacob Van Buren (@jvanburen)
  11. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Set `Capply.returns` in flambda

    This causes codegen to change, so it is vital that Apply.returns apply is correct. See parent PR for more details.

    James Rayman (@jra4)
  12. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Shape.Uid distinguishes interface and implementation units

    Stacked on #7506. #7028 is based on this PR.

    Zesen Qian (@riaqn)
  13. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    Sign extension no longer folded into a mask after bswap_32 (regression since ox9)

    On arm64, extracting a few bits from a byte-swapped int32 sign-extends the whole word first, though the mask discards every bit the extension sets:

    Thomas Gazagnaire (@samoht)
  14. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Simplify CFG depth-first traversal

    Similarly to https://github.com/oxcaml/oxcaml/pull/7837, we can simplify

    Xavier Clerc (@xclerc)
  15. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Simplify CFG dominators to a single tree

    After https://github.com/oxcaml/oxcaml/pull/7836 makes dead handlers

    Xavier Clerc (@xclerc)
  16. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Simplify Phys_equal of a tagged boolean against a constant

    [Note: this is the original approach, now superceded following feedback from @bclement-ocp ; see below]

    Mark Shinwell (@mshinwell)
  17. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    Simplify makes the direct call in the wrapper of a function with an optional argument indirect

    The wrapper made for a function with an optional argument (also for [@unboxable]) calls the inner function directly before Simplify and through the closure after it, at the default level, -O2 and -O3. So [@zero_alloc] on such a function fails with called function may allocate (indirect tailcall); with -flambda2-simplify-stubs the call stays direct and the ch…

    Mark Shinwell (@mshinwell)
  18. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Slambda: apply kind instantiations directly

    Evaluate (kindinstantiate f [k1; ...; kn]) arg1 ... argm to a single application of the instantiation to the environment and the arguments, rather than applying the result of a partial application of it. This avoids allocating the partial application, which also hid the instantiation from inlining in classic mode.

    Jack Rickard (@Skepfyr)
  19. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Structured mangling: C implementation of demangling

    C implementation of symbol demangling

    Kevin Svetlitski (@Svetlitski)
  20. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Structured mangling: fix names of compiler-generated closures

    Profiling a large internal executable built with -name-mangling-scheme structured showed that about nine thousand function symbols still demangled to a bare fn, and that every functor body demangled with the functor's name doubled (Make_set.Make_set). None of these closures are anonymous in the source: they are the functions the compiler synthesizes from a d…

    Kevin Svetlitski (@Svetlitski)