Repository activity
40458 results across all weeks
Pure float function returns a different result on a fork_join2 subtask, at -O2 and above
Three subtasks call the same pure function on the same inputs. One of the three returns a
Bruising6802Record only direct dependencies in cmi import tables
The import table of a cmi now records only the units whose cmis were actually read during compilation, each with its own interface CRC, instead of the transitive closure of dependencies accumulated through a consistency table.
Zesen Qian (@riaqn)Record synchronized Merlin import
Summary
Gavin Gray (@gavinleroy)Record synchronized Merlin import for interface strengthener
Second branch for the interface strengthener worktree. external/merlin/scripts/import-ocaml-source.sh reported that Merlin was already synchronized, so this layer contains only the administrative synchronization commit.
Gavin Gray (@gavinleroy)Record synchronized Merlin import for module type implementations
Second branch for the module type implementations worktree. external/merlin/scripts/import-ocaml-source.sh reported that Merlin was already synchronized, so this layer contains only the administrative synchronization commit.
Gavin Gray (@gavinleroy)Record synchronized Merlin import for strength analysis
Second branch for the strength analysis worktree. external/merlin/scripts/import-ocaml-source.sh reported that Merlin was already synchronized, so this layer contains only the administrative synchronization commit.
Gavin Gray (@gavinleroy)Reduce frametable size
Rework the native-code frame tables to save space. Six main steps:
Nick Barnes (@NickBarnes)Refactor: cleanup lowering of %atomic_load_idx and %atomic_set_idx
Addresses internal ticket 7719.
Joe Kerrigan (@joe-kerrigan)Relax idx_atomic kind constraint
We currently constrain the 'b parameter of an ('a, 'b) idx_atomic to kind value_or_null. Relax that constraint to any for consistency with other block index types. Update ptr_atomic accordingly.
Joe Kerrigan (@joe-kerrigan)Remove `int64#`, `int32#`, `nativeint#`, and `float32#`
These types are not "true" unboxed versions as they are boxed as custom blocks, so we remove them to restore the boxing invariant.
Ryan Tjoa (@rtjoa)Remove destroyed registers in all tracking cases of Simplify_terminator.
The Const_int, Const_float32, Const_float and Move cases of
Xavier Clerc (@xclerc)Remove restrictions on unboxed products in external calls
Unboxed products passed to or returned from external calls now follow the calling convention of the corresponding (possibly nested) C struct, on x86-64 (System V) and arm64 (AAPCS64 and its Apple variant). Previously arguments could not involve unboxed products at all (except via [@unpacked]) and returns were limited to certain flat pairs.
Mark Shinwell (@mshinwell)Remove restrictions on unboxed products in external calls
Stacked on #6861, which makes return arities [`Complex] throughout Flambda 2 (needed because nesting affects C struct layout); this PR contains only the external-call work.
Mark Shinwell (@mshinwell)Remove runtime 5 markers
This is the sequel to #6218, removing the last few runtime 5 markers which were left in at that time to support third-party code which depended on them, as mentioned in that PR description. Extensive cleaning of that third-party code has occurred in the meantime, and will soon be complete. Removed:
Nick Barnes (@NickBarnes)Remove shifts before and-ing with a small constant
See the codegen test for an example where a sign-extension via shifts is eliminated.
James Rayman (@jra4)Remove useless constant moves (using CFG value propagation)
(Very early draft, for illustration purposes only.)
Xavier Clerc (@xclerc)Require exclave for local tail forwards
Preserve the uncrossed areality of local-returning applications in function-return tail position, so implicit tail forwarding requires an explicit exclave_ even when the result type can cross modes. This is in preparation for mode poly, especially to see if jane still builds.
julesjacobsRevisit the "arguments useful" check
The -flambda2-speculative-inlining-only-if-arguments-useful check is intended to only perform speculative inlining if we have more information on the arguments (at the call site) than on the parameters (at the function definition).
Basile Clément (@bclement-ocp)Rewrite constant materializations into register moves in Simplify_terminator.
collect_known_values now maintains regs_holding_int, a reverse map of
Xavier Clerc (@xclerc)Rewrite integer operations with known results in Simplify_terminator.
A (pure) integer operation whose result is statically known is now subject
Xavier Clerc (@xclerc)