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

dialects: (linalg) add hidden region to transpose op #3838

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

jorendumoulin
Copy link
Collaborator

@jorendumoulin jorendumoulin commented Feb 5, 2025

This adds a hidden region to the linalg.transpose op to ensure correct generic printing
Also changes permutation to a property instead of attribute.

This resolves the transpose op in #2959

This has now been checked manually, and will be put in ci with #3837 (but for that 3 other ops need to be fixed, PRs incoming...)

@jorendumoulin jorendumoulin marked this pull request as ready for review February 5, 2025 09:33
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this filecheck had invalid generic format, so i converted it to use the custom format

Copy link

codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.26%. Comparing base (9956513) to head (85cddfa).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3838   +/-   ##
=======================================
  Coverage   91.26%   91.26%           
=======================================
  Files         461      461           
  Lines       57643    57648    +5     
  Branches     5571     5571           
=======================================
+ Hits        52605    52610    +5     
  Misses       3613     3613           
  Partials     1425     1425           

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

@jorendumoulin jorendumoulin merged commit f0ff49f into main Feb 5, 2025
16 checks passed
@jorendumoulin jorendumoulin deleted the joren/linalg/transpose branch February 5, 2025 10:27
jorendumoulin added a commit that referenced this pull request Feb 5, 2025
…ck (#3837)

This PR adds generic printing to the mlir conversion filecheck

This will check whether the issues posed in #2959 are correctly
resolved, by checking if mlir correctly parses the generic output of
xdsl

There are still reminaing issues, solved in the following PRs:
(stacked on: ) #3838, #3839, #3840, #3841
emmau678 pushed a commit that referenced this pull request Feb 6, 2025
This adds a hidden region to the linalg.transpose op to ensure correct
generic printing
Also changes permutation to a property instead of attribute.

This resolves the transpose op in #2959 

This has now been checked manually, and will be put in ci with #3837
(but for that 3 other ops need to be fixed, PRs incoming...)
emmau678 pushed a commit that referenced this pull request Feb 6, 2025
…ck (#3837)

This PR adds generic printing to the mlir conversion filecheck

This will check whether the issues posed in #2959 are correctly
resolved, by checking if mlir correctly parses the generic output of
xdsl

There are still reminaing issues, solved in the following PRs:
(stacked on: ) #3838, #3839, #3840, #3841
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dialects Changes on the dialects
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants