-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Propagate builtin from Primitive to Cextcall #15
Conversation
Splitting up effects and coeffects into a separate PR. |
ddee1cd
to
05c10a9
Compare
backend/cmm_helpers.mli
Outdated
@@ -570,6 +570,12 @@ val send : | |||
Lambda.meth_kind -> expression -> expression -> expression list -> | |||
Debuginfo.t -> expression | |||
|
|||
(** [transl_cextcall prim args dbg type_of_result] returns Cextcall operation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
transl_cextcall -> cextcall
backend/cmm_helpers.mli
Outdated
@@ -570,6 +570,12 @@ val send : | |||
Lambda.meth_kind -> expression -> expression -> expression list -> | |||
Debuginfo.t -> expression | |||
|
|||
(** [transl_cextcall prim args dbg type_of_result] returns Cextcall operation | |||
that corresponds to [prim]. If [prim] is a builtin supported on the target, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe "builtin" -> "C builtin" to clarify
05c10a9
to
42638f5
Compare
I fixed the comment, thanks! |
ce88833 Merge flambda-backend changes b7506bb Revert "Cherry-pick of ocaml/ocaml 1eeb0e7fe595f5f9e1ea1edbdf785ff3b49feeeb (#12)" 183f688 Add config option to enable/disable stack allocation (#22) ee7c849 If both the type and mode of an ident are wrong, complain about the type. (#19) 44bade0 Allow submoding during module inclusion checks (#21) de3bec9 Add subtyping between arrows of related modes (#20) 93d8615 Enable the local keywords even when the local extension is off (#18) 81dd85e Documentation for local allocations b05519f Fix a GC bug in local stack scanning (#17) 9f879de Fix __FUNCTION__ (#15) a78975e Optimise "include struct ... end" in more cases (ocaml/ocaml#11134) b819c66 Cherry-pick of ocaml/ocaml 1eeb0e7fe595f5f9e1ea1edbdf785ff3b49feeeb (#12) bb363d4 Optimise the allocation of optional arguments (#11) git-subtree-dir: ocaml git-subtree-split: ce88833
ce88833 Merge flambda-backend changes b7506bb Revert "Cherry-pick of ocaml/ocaml 1eeb0e7fe595f5f9e1ea1edbdf785ff3b49feeeb (ocaml-flambda#12)" 183f688 Add config option to enable/disable stack allocation (ocaml-flambda#22) ee7c849 If both the type and mode of an ident are wrong, complain about the type. (ocaml-flambda#19) 44bade0 Allow submoding during module inclusion checks (ocaml-flambda#21) de3bec9 Add subtyping between arrows of related modes (ocaml-flambda#20) 93d8615 Enable the local keywords even when the local extension is off (ocaml-flambda#18) 81dd85e Documentation for local allocations b05519f Fix a GC bug in local stack scanning (ocaml-flambda#17) 9f879de Fix __FUNCTION__ (ocaml-flambda#15) a78975e Optimise "include struct ... end" in more cases (ocaml/ocaml#11134) b819c66 Cherry-pick of ocaml/ocaml 1eeb0e7fe595f5f9e1ea1edbdf785ff3b49feeeb (ocaml-flambda#12) bb363d4 Optimise the allocation of optional arguments (ocaml-flambda#11) git-subtree-dir: ocaml git-subtree-split: ce88833
454150b flambda-backend: Speed up testsuite (#658) 8362f9e flambda-backend: Speed up builds (#585) a527cab flambda-backend: Update backends for changes from ocaml-jst ce88833 Merge flambda-backend changes b7506bb Revert "Cherry-pick of ocaml/ocaml 1eeb0e7fe595f5f9e1ea1edbdf785ff3b49feeeb (#12)" 183f688 Add config option to enable/disable stack allocation (#22) ee7c849 If both the type and mode of an ident are wrong, complain about the type. (#19) 44bade0 Allow submoding during module inclusion checks (#21) de3bec9 Add subtyping between arrows of related modes (#20) fe8a98b flambda-backend: Save Mach as Cfg after Selection (#624) 2b205d8 flambda-backend: Clean up algorithms (#611) 93d8615 Enable the local keywords even when the local extension is off (#18) 524f0b4 flambda-backend: Initial refactoring of To_cmm (#619) 81dd85e Documentation for local allocations b05519f Fix a GC bug in local stack scanning (#17) 9f879de Fix __FUNCTION__ (#15) 0bf75de flambda-backend: Refactor and correct the "is pure" and "can raise" (port upstream PR#10354 and PR#10387) (#555) d234bfd flambda-backend: Cpp mangling is now a configuration option (#614) 20fc614 flambda-backend: Check that stack frames are not too large (#10085) (#561) 5fc2e95 flambda-backend: Allow CSE of immutable loads across stores (port upstream PR#9562) (#562) 2a650de flambda-backend: Backport commit fc95347 from trunk (#584) a78975e Optimise "include struct ... end" in more cases (ocaml/ocaml#11134) b819c66 Cherry-pick of ocaml/ocaml 1eeb0e7fe595f5f9e1ea1edbdf785ff3b49feeeb (#12) bb363d4 Optimise the allocation of optional arguments (#11) 31651b8 flambda-backend: Improved ARM64 code generation (port upstream PR#9937) (#556) f0b6d68 flambda-backend: Simplify processing and remove dead code (error paths) in asmlink (port upstream PR#9943) (#557) 90c6746 flambda-backend: Improve code-generation for inlined comparisons (port upstream PR#10228) (#563) git-subtree-dir: ocaml git-subtree-split: 454150b
on top of #11 and #10, only the top commit is new.