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

transformations: fix memref_streamify non idempotency and wrong maps for outs #2589

Merged
merged 4 commits into from
May 15, 2024

Conversation

superlopuh
Copy link
Member

No description provided.

@superlopuh superlopuh added the transformations Changes or adds a transformatio label May 15, 2024
@superlopuh superlopuh self-assigned this May 15, 2024
Copy link

codecov bot commented May 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.64%. Comparing base (07266fc) to head (3996bbe).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2589   +/-   ##
=======================================
  Coverage   89.64%   89.64%           
=======================================
  Files         358      358           
  Lines       45359    45361    +2     
  Branches     6827     6828    +1     
=======================================
+ Hits        40663    40665    +2     
  Misses       3665     3665           
  Partials     1031     1031           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Base automatically changed from sasha/snitch/unflatten-no-iter-args to main May 15, 2024 10:05
Copy link
Collaborator

@AntonLydike AntonLydike left a comment

Choose a reason for hiding this comment

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

Can't really reason about the correctness of this change myself, but code-wise it's all good!

@@ -1,5 +1,9 @@
// RUN: xdsl-opt -p memref-streamify %s | filecheck %s

// Check that streamfying twice does not make further changes
// RUN: xdsl-opt -p memref-streamify,memref-streamify %s | filecheck %s
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a very neat idea! I like adding these kinds of things to tests!

Copy link
Member Author

Choose a reason for hiding this comment

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

idempotency is a pre-requisite for our exhaustive search of IRs not to explode BTW

@superlopuh superlopuh merged commit 274e6a7 into main May 15, 2024
10 checks passed
@superlopuh superlopuh deleted the sasha/snitch/fix-streamify branch May 15, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
transformations Changes or adds a transformatio
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants