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: use block argument types when streamifying #2920

Merged
merged 11 commits into from
Jul 22, 2024

Conversation

superlopuh
Copy link
Member

No description provided.

@superlopuh superlopuh added the transformations Changes or adds a transformatio label Jul 22, 2024
@superlopuh superlopuh requested a review from nazavode July 22, 2024 05:45
@superlopuh superlopuh self-assigned this Jul 22, 2024
Co-authored-by: Federico Ficarelli <1379149+nazavode@users.noreply.github.com>
@superlopuh superlopuh force-pushed the sasha/memref_stream/ssum-streamify-vectors branch from 879dedb to f22f1f4 Compare July 22, 2024 05:49
@superlopuh superlopuh marked this pull request as ready for review July 22, 2024 05:50
Copy link

codecov bot commented Jul 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.89%. Comparing base (7f326d4) to head (713d2fe).

Additional details and impacted files
@@                           Coverage Diff                           @@
##           sasha/memref_stream/ssum-test-raise    #2920      +/-   ##
=======================================================================
- Coverage                                89.89%   89.89%   -0.01%     
=======================================================================
  Files                                      404      404              
  Lines                                    50501    50500       -1     
  Branches                                  7802     7802              
=======================================================================
- Hits                                     45400    45397       -3     
- Misses                                    3868     3869       +1     
- Partials                                  1233     1234       +1     

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

for index, value in enumerate(op.inputs)
if isinstance(value_type := value.type, memref.MemRefType)
and op.body.block.args[index].uses
(index, op.body.block.args[index].type)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
(index, op.body.block.args[index].type)
(index, arg.type)

(if my Python is not incorrect)

Base automatically changed from sasha/memref_stream/ssum-test-raise to main July 22, 2024 22:44
@superlopuh superlopuh merged commit 431dce1 into main Jul 22, 2024
9 checks passed
@superlopuh superlopuh deleted the sasha/memref_stream/ssum-streamify-vectors branch July 22, 2024 22:53
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.

3 participants