-
Notifications
You must be signed in to change notification settings - Fork 3
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
[FXML-4320] Restrict types that are valid in EmitC #141
[FXML-4320] Restrict types that are valid in EmitC #141
Conversation
80c0cbf
to
b3ff7dc
Compare
Do you want to already update ArithToEmitC here or in another PR? |
I am not sure. There are more dialects that convert to EmitC, maybe we should update all of them actually (in one go, in a separate PR probably)?😅 |
ok, let's try |
0057b0b
to
0774e67
Compare
0774e67
to
b86f52f
Compare
Use what is currently supported by the emitter to restrict the valid types of EmitC operations. Define three utility functions for valid types, such that they can be used to restrict the operations in the table gen as well as being available for reuse in dialect conversions.
254a4bd
to
dd3575e
Compare
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.
Looks good!
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.
Looks good to me too :)
Use what is currently supported by the emitter to restrict the valid types of EmitC operations. Define utility function for valid types, such that they can be used to restrict the operations in the table gen as well as being available for reuse in dialect conversions.