-
Notifications
You must be signed in to change notification settings - Fork 72
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: linalg minor fixes #2307
Conversation
- `doc` and `library_call` are properties - The parenthesis around output types are mandatory in custom syntax if multiple types are present.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2307 +/- ##
==========================================
- Coverage 89.53% 89.51% -0.02%
==========================================
Files 329 329
Lines 39443 39446 +3
Branches 5904 5905 +1
==========================================
- Hits 35314 35309 -5
- Misses 3270 3275 +5
- Partials 859 862 +3 ☔ View full report in Codecov by Sentry. |
@@ -96,8 +96,8 @@ class Generic(IRDLOperation): | |||
# Trait attributes | |||
indexing_maps: ArrayAttr[AffineMapAttr] = prop_def(ArrayAttr[AffineMapAttr]) | |||
iterator_types: ArrayAttr[IteratorTypeAttr] = prop_def(ArrayAttr[IteratorTypeAttr]) | |||
doc: StringAttr | None = opt_attr_def(StringAttr) | |||
library_call: StringAttr | None = opt_attr_def(StringAttr) | |||
doc: StringAttr | None = opt_prop_def(StringAttr) |
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.
do you think it would be too much of a detour to implement default properties before merging 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.
I really want to - and soon! Though this is actually a sensitive fix: MLIR interop is currently broken without it. Can I have your approval to merge this frustrating opt_prop_def
so it's functional first? We'll get rid of those eventually!
doc
andlibrary_call
are properties