Features
- Oxcaml CMM code generation: Ongoing audit of
bindusage incmm_helpers.mlto remove unnecessary let-bindings that suppress peephole optimizations for array indexing (int_array_ref,array_indexing). Tracked in issue #3718, updated 2025-04-16.
Fixes
-
Oxcaml Flambda2 unsafe indexing: Opened issue #3889 (2025-04-17) reporting that unsafe indexing by unboxed
nativeintor larger types truncates the index instead of segfaulting on out-of-bounds access. Proposed fix: change indexing arguments fromNaked_immediatetoNaked_nativeint. -
Oxcaml CMM unboxed conversion: Opened issue #3888 (2025-04-17) noting that unboxed
int64→intconversion emits a redundant inner sign-extension inlsl_int, degrading generated code. -
Oxcaml build under Clang 18: #3841 closed 2025-04-14. The build failed with
-Werror,-Wunused-variableinruntime/unix.cwhen compiled with--enable-address-sanitizerandCC=clang.