-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flambda-backend: Add
[@layout_poly]
attribute for layout representa…
…tion polymorphic externals (#2229) * wip fix printing remove Repr_poly from lambda add comments proper jkind reason test update fix typo produce correct error check repr attr earlier and use get_unboxed_type_approximation make more primitives work with non value layout format fix upstream flambda2 only rename tests tests code cleanup more cleanup and an extra test add additional checks around array primitives * remove paren * add test when type constructor constrains layout * rename is_lambda_prim to is_builtin_prim * test&comment about No_native_primitive_with_non_value and Old_style_float_with_non_value * revert indentation change to reduce diff * make ml/mli def of description_gen consistent * fix long lines * comment on make_prim_repr_args * fix module tests * rework jkind checks * add comment on extern_repr * move make_prim_repr_args comment to mli * more comments * prim_is_layout_representation_polymorphic rename * add test about non-explicitly quantify tvars * update type_sort_external comment * test update * rename to layout_poly and improve error messages * fix format * make the repr checks stronger * rename test files * register layout_poly in Builtin_attributes * improve documentation * code cleanup & rename * more tests for instance_prim * more documentation and tests around the jkind check * Formatting and minor edits in comments * make unused layout_poly an error * update error message * fix upstream build and bootstrap --------- Co-authored-by: Chris Casinghino <ccasinghino@janestreet.com>
- Loading branch information
1 parent
16d52cc
commit a7bd3d4
Showing
40 changed files
with
1,774 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.