Features
-
Mode solver levels (merged): Adds level tracking,
generalize,copy, and alloc-mode-as-locality to the mode solver. Infrastructure for mode polymorphism. Stacked over #5478–#5482. -
Box kinds (open): Introduces the
k boxkind constructor;k box < scannablealways holds. Box kinds are not yet linked to types. #6956 -
Addressable kinds (merged): Adds an idempotent
addressableoperator to the kind system. Enablesptr_ofonbits64 box; rejectsbits8 box. #6712 -
LTO solution files (merged + open):
-reaper-solvewrites.ltosolfiles and unions dependency graphs from.cmrinputs;-reaper-rebuildreads them. Full serialisation and calling-convention threading are in progress. #6752, #6731, #6895, #6964 -
SSA empty-loop deletion (open):
-ssa-delete-empty-loopspass proves loop termination and side-effect-freedom via Fourier-Motzkin entailment, then rewrites the header exit. Off by default. #6948 -
Experimental
Eval.inject(open): Runtime value injection for metaprogramming quotes;%reify_approxmarshals middle-end approximations for inlining. Polymorphic values require monomorphisation annotations. #6560
Fixes
-
DWARF size and correctness (merged): Reduces
ocamloptDWARF from 361 MiB to ~46 MiB on macOS via assembler-local temporaries, shared enum DIEs, compact forms, and correct inlined-frame paths. #6915, #6916, #6945, #6882, #6877, #6517 -
CFG block-layout pass (merged):
-cfg-block-layoutreorders blocks to maximise fallthrough and sink cold blocks. Removes ~15% of intra-function unconditional jumps at +0.3% text size. #6918