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
dialects: (func) add init to func.FuncOp #1037
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.
👍
I don't think we need a test here since this is used in the other constructors.
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.
LGTM 👍
function_type=(input_types, return_types), | ||
region=Region(), | ||
visibility="private", | ||
) | ||
|
||
@staticmethod | ||
def from_region( |
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.
Maybe deprecate/remove this?
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.
Good idea, although I think that can be an issue for the time being: #1038
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1037 +/- ##
=======================================
Coverage 86.89% 86.90%
=======================================
Files 125 125
Lines 19319 19324 +5
Branches 2929 2929
=======================================
+ Hits 16788 16794 +6
+ Misses 2029 2028 -1
Partials 502 502
☔ View full report in Codecov by Sentry. |
No description provided.