Skip to content
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

[HW] [NFC] Extract out printing/parsing functions for modules #1773

Merged
merged 3 commits into from
Sep 15, 2021

Conversation

teqdruid
Copy link
Contributor

To enable re-use in other dialects.

@teqdruid teqdruid added the HW Involving the `hw` dialect label Sep 11, 2021
@teqdruid teqdruid changed the title [HW] Extract out printing/parsing functions for modules [HW] [NFC] Extract out printing/parsing functions for modules Sep 11, 2021
@teqdruid
Copy link
Contributor Author

@lattner I'd like to use the module parsing code in my (future) module ops. Do you have any objections to this?

Copy link
Collaborator

@lattner lattner left a comment

Choose a reason for hiding this comment

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

Ok. this probably isn't the perfect way to layer this, but this is fine for now.

@teqdruid
Copy link
Contributor Author

I agree that this probably isn't the best way to layer this, but I also don't know what that way is. There will also be a number of other issues like this coming out of my msft "module/instance-like" ops, so it's probably advisable to get it working with a little mileage on it before we generalize it correctly.

To enable re-use in other dialects.
@teqdruid teqdruid merged commit af8b1f5 into llvm:main Sep 15, 2021
@teqdruid teqdruid deleted the hw-modulelike-utils branch September 15, 2021 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HW Involving the `hw` dialect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants