Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

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

    No compile-time data for modules in recursive definitions

    Makes recursive modules appear dynamic as translation can lose track of their compile-time halves.

    Jakub Bachurski (@jbachurski)
  2. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    Or-patterns over unboxed records: compiler stops with "Unbound static exception", or the match takes the wrong case

    A match with an or-pattern made of unboxed record patterns is compiled wrongly, because lub in typing/parmatch.ml has no case for them. Two behaviours have been observed, each with no warning from the type checker:

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

    Out_of_memory cannot be caught for Array.make or Bytes.create

    Array.make or Bytes.create of 2^40 elements ends the program with Fatal error: Out of memory in place of raising Out_of_memory, in native code and bytecode. OCaml 5.4.0 raises, and stdlib.mli documents the exception for array creation.

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

    Polymorphic equality on float32 nan returns true

    Polymorphic = on two boxed float32 nans returns true; <>, <, <=, > and >= also give the opposite of the IEEE answers. With the type known at the comparison the answers are right, so a result can change with inlining.

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

    Post-dominators computation for SSA

    As per title; it implements the same algorithm

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

    Prevent shrink wrapping past incoming stack accesses

    As per title; this pull request essentially

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

    Propagate debuginfo to branches and their arms in Cfg

    Stacked on #8064.

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

    Question: `let r = f x in r` is a tail call or not depending on whether the compiler itself allocates on the local stack

    This is a question about the intended semantics, not a clear bug: the behaviour agrees with the documentation, but depends on something the user cannot see.

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

    Read of a mutable field inside a try is done after a later call that raises

    Inside a try, r := q.m followed by a call that changes q.m and raises leaves the new value of q.m in r: the read is moved after the call. The same happens with a reference or an array element in place of the field, and with a let mutable variable in place of the reference.

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

    Read of a string from Bytes.unsafe_to_string is moved after a later write to the bytes

    let c = String.get (Bytes.unsafe_to_string b) 0 in Bytes.set b 0 'z'; c returns 'z': the read of the string is done after the write, in a use that the documentation of Bytes.unsafe_to_string allows. With -flambda2-expert-cmm-safe-subst the read stays in place when the write is a call, not when it is an inline store as here.

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

    Reaper: run a flat datalog schedule under -reaper-solve

    This PR changes the fixpoint iteration schedule when compiling with link-time optimizations. Instead of a two tier schedule, we use a schedule.

    Simon Spies (@spiessimon)
  12. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Record action traces

    This PR adds the Action_trace module to the compiler. This module allows for writing data that dune can read and then record in a trace.json file. This is useful for logging metrics and performance numbers.

    Liam Stevenson (@liam923)
  13. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Record whether arguments are solely responsible for allocation in `.cmx` summaries

    Extend [@zero_alloc] summaries to include whether all possible allocations within a function's body come from indirect calls to an argument to that function (e.g. List.iter).

    Will Sturgeon (@wrsturgeon)
  14. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Refactor ARM64 architecture extensions

    Adds the following

    yusumez-js
  15. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Refactor `Typedtree.constant` to use the correct payload types

    See the diff in typedtree.mli for the core of the change. The rest of the diff is a mechanical refactor.

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

    Remove Target_system.is_(32|64)_bit

    Confusingly, these check for the word size of the build host, instead of the compilation target. There are places that check for this (for example, shift folding) that is incorrect on JSIR as a result. We should use Target_system.Machine_width for these uses instead.

    Leo Lee (@smjleo)
  17. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Remove default parameters from tests and `-experimental-optimizations` (backend)

    (As per title; these options have been the default for some time.)

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

    Remove dot-merlin-reader

    At the moment, Merlin loads its config by doing approximately:

    Liam Stevenson (@liam923)
  19. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Remove duplicate inlined frames in debuginfo introduced by Flambda

    Fix two cases (and leave on as a CR) where Flambda 2 Simplify adds the frames of the current inlining context to debuginfo a second time.

    yusumez-js
  20. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Remove trap-handler entry-point mode from CFG dataflow

    Similarly to https://github.com/oxcaml/oxcaml/pull/7837 and https://github.com/oxcaml/oxcaml/pull/7839,

    Xavier Clerc (@xclerc)