-
Notifications
You must be signed in to change notification settings - Fork 85
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
interpreters: (irdl) generate better op name #3529
Conversation
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.
Let's unstack
Oh and let's fix the test also to remove the cmath check |
Might be easier just to deal with one PR at a time on second thoughts |
Your call |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3529 +/- ##
=======================================
Coverage 90.37% 90.37%
=======================================
Files 466 466
Lines 58561 58561
Branches 5585 5585
=======================================
Hits 52926 52926
Misses 4206 4206
Partials 1429 1429 ☔ View full report in Codecov by Sentry. |
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.
Nice!
Actually I'm wondering if we should not move get_op_name
to OperationOp
directly?
Just to make it more easily discoverable, since it is only a few lines of code anyway
I like that a lot, although in that case I'd call it something like |
It definitely seems easier to unstack at this point, as the location and name of the op may need to be changed for both PRs... |
I'm not sure I understand unstacking. To me it makes sense to fix up the other PR, get it merged, then rebase/remake this one |
Maybe it's just that they have conflicts that makes it confusing, it's just that I looked at this PR and commented here on something that should actually be changed in the other PR. |
By unstack did you mean make the 2 PRs into 1 PR? |
0e444bc
to
87d56c8
Compare
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Yep sorry I thought that's what you meant. |
For some reason I thought you meant to make 2 completely separate PRs which both add the new function separately, sorry again for the confusion |
The diff here isn't correct, I'll sort it out |
That's my bad for assuming what you meant! |
87d56c8
to
6659aad
Compare
Diff looks better now |
Fixes #3527
Stacked but can be unstacked