Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

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

    Extend .cmx/.cmo files with a data field for laws

    Building on #7972, this PR adds support for storing the data of laws in .cmx/.cmo files. It additionally adds a small tool, ocamllaws, for retrieving the data and printing it. To decouple the plumbing of this change from the actual work (i.e., producing the law data), this PR introduces an abstract type Laws_data.t but stubs out the implementation.

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

    Extend SSA reduce to support moves between blocks

    As per title: add a third constructor to reduction,

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

    Extend operation sinking (Partial Dead Code Elimination) on SSA to also move heap allocations

    After https://github.com/oxcaml/oxcaml/pull/8010 has added the identification of

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

    FDO: Annotations in fexpr

    Adds printing FDO annotation support to Fexpr on calls + branches. #7531 already added it for entry counters. This PR adds it for calls and switch arms (via printing the entire Branch_annotation). Parsing is not implemented.

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

    FDO: Function body hash

    Adds Fdo_body_hash which computes function body hashes. Function bodies need to be distinguished between edits that might change the "shape" of the body (in particular, what the counter indices + the counts gathered from a profile depend on). This is achieved via selectively hashing the Lambda AST using Fdo_prehash.

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

    FDO: Function identities from Lambda

    Adds Fdo_function_naming to handle giving FDO identities for functions during Lambda_to_flambda.

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

    FDO: Insert counters during closure conversion

    Adds Fdo_instrumentation, which exposes functions to help insert call and branch counters given the corresponding Lambda terms. These are then called during closure conversion. The counters are threaded through the closure conversion IR and ultimately inserted into flambda terms.

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

    FDO: Push counters through Cmm

    Adds FDO counters for function entry, calls, and branches to Cmm, and pushes them through the translation from Flambda to Cmm.

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

    FDO: Push counters through Simplify

    (NOTE: this PR description is outdated. I will update it soon.)

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

    Fatal error "let-rec group of [lfunction] declarations have inconsistent alloc modes" with mutual let rec + partial application

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

    Field of a stack block is read after its region has ended (exclave_ in both arms of an if)

    A field read from a stack-allocated block is computed after the region has ended when the function ends with exclave_ calls of a local function in both arms of an if; the slot has been reused by then. With a string field the program ends with a segmentation fault.

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

    Field of a stack block is read after the region of a try has ended

    Inside a try, a field read from a stack-allocated block and passed in the raised exception is computed in the handler, after the region of the try has ended and the slot has been reused. With a string field the program ends with a segmentation fault; the wrong value can also reach the caller inside the exception.

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

    Fields and `&` imply `addressable`; singleton `inherit` fields

    We make three coupled changes.

    Ryan Tjoa (@rtjoa)
  14. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    First Futamura projection of ocamltest

    (maybe a fancy title will make this boring refactoring PR seem interesting)

    Stephen Dolan (@stedolan)
  15. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Fix Static_const.compare for immutable float blocks

    Fixes #8079.

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

    Fix amd64 compare-and-set accumulator clobber

    As per title: rax is clobbered by

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

    Fix disabling AVX

    Two issues:

    Max Slater (@TheNumbat)
  18. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Fix f32 poly compare

    Float32 polymorphic comparison should be setting Caml_state->compare_unordered if either of the arguments are nan.

    Max Slater (@TheNumbat)
  19. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Fix f64->f16 double rounding in bigarray

    Currently, caml_float16_of_double rounds to f32 and then to f16, which is not equivalent to rounding directly to f16.

    Max Slater (@TheNumbat)
  20. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    Fix int128 arithmetic on shared regs

    The first step of int128 add/sub overwrites the first operand, which is incorrect if the same register is used for a later operand. We can fix this by assuring the first and last operands are distinct.

    Max Slater (@TheNumbat)