Skip to content

Remove Flambda_arity.With_subkinds #1241

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged

Conversation

mshinwell
Copy link
Collaborator

As discussed, it seemed like this could be removed - and indeed its removal would make the forthcoming unarization work more straightforward. Actually removing it was unproblematic; arities now always have subkind info. Some unused functions have also been removed, so the interface to Flambda_arity is now much smaller.

@mshinwell mshinwell added flambda2 Prerequisite for, or part of, flambda2 unboxed types labels Mar 20, 2023
@mshinwell mshinwell force-pushed the flambda2-remove-arity-with-subkinds branch from b033c74 to b561f58 Compare March 21, 2023 06:56
@mshinwell mshinwell force-pushed the flambda2-remove-arity-with-subkinds branch from b561f58 to 8c51e68 Compare March 23, 2023 10:58
Copy link
Contributor

@Ekdohibs Ekdohibs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good simplification, see comments for a few further simplifications.

@mshinwell mshinwell force-pushed the flambda2-remove-arity-with-subkinds branch from 89459d2 to 7cd4ff8 Compare April 10, 2023 17:46
Use exact comparison on subkinds for Compare

Harmonise code with PR1250

unknown_types_from_arity

equal_ignoring_subkind etc

Use equal_ignoring_subkind + compilation fix
@mshinwell mshinwell force-pushed the flambda2-remove-arity-with-subkinds branch from 3699321 to dd46420 Compare April 14, 2023 11:07
@mshinwell mshinwell merged commit 20f9921 into ocaml-flambda:main Apr 14, 2023
@gretay-js gretay-js mentioned this pull request Apr 18, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
flambda2 Prerequisite for, or part of, flambda2 unboxed types
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prototype of unarization for Flambda 2 Unboxed tuples (requires "unarization" pass)
3 participants