-
Notifications
You must be signed in to change notification settings - Fork 83
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: (bufferization) add materialize_in_destination #3301
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3301 +/- ##
========================================
Coverage 90.01% 90.02%
========================================
Files 445 445
Lines 55850 55979 +129
Branches 5351 5365 +14
========================================
+ Hits 50274 50393 +119
- Misses 4169 4177 +8
- Partials 1407 1409 +2 ☔ 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.
could you please add a roundtrip test case to the filechecks of the dialect and mlir interoperation?
xdsl/dialects/bufferization.py
Outdated
@@ -168,12 +168,39 @@ class ToMemrefOp(IRDLOperation): | |||
assembly_format = "$tensor (`read_only` $read_only^)? `:` attr-dict type($memref)" | |||
|
|||
|
|||
# now only works for (tensor, tensor) arguments. need to add memref support as well. |
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.
# now only works for (tensor, tensor) arguments. need to add memref support as well. |
…#3301) Currently we need only the command with tensor arguments but we should extend it to memrefs as well at some point.
Currently we need only the command with tensor arguments but we should extend it to memrefs as well at some point.