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: Fix affine.ParallelOp boundsGroup checks. #2235

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

PapyChacal
Copy link
Collaborator

@PapyChacal PapyChacal commented Feb 25, 2024

The current (my 😅) verifier of affine.parallel is off.
boundsGroups work like operandSegmentSizes; it contains the lengths of each group.
The current verifier assumes they work like mappings from each bound to its group.

@PapyChacal PapyChacal added dialects Changes on the dialects minor For minor PRs, easy and quick to review, quickly mergeable labels Feb 25, 2024
@PapyChacal PapyChacal self-assigned this Feb 25, 2024
Copy link

codecov bot commented Feb 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.62%. Comparing base (0973178) to head (d9c0767).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2235   +/-   ##
=======================================
  Coverage   89.62%   89.62%           
=======================================
  Files         346      346           
  Lines       41027    41027           
  Branches     6096     6096           
=======================================
  Hits        36771    36771           
  Misses       3364     3364           
  Partials      892      892           

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

Copy link
Contributor

@georgebisbas georgebisbas left a comment

Choose a reason for hiding this comment

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

How did you find it is off? Add a test? ;-)

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.

Nice find! 🕵️

@PapyChacal
Copy link
Collaborator Author

How did you find it is off? Add a test? ;-)

Through errors on an xDSL+MLIR flow I'm working on; will try and add a test sure!

@superlopuh
Copy link
Member

@PapyChacal, any progress on this?

@PapyChacal PapyChacal merged commit 681cc5a into main Mar 27, 2024
10 checks passed
@PapyChacal PapyChacal deleted the emilien/affine-parallel-verify branch March 27, 2024 16:10
@PapyChacal
Copy link
Collaborator Author

@PapyChacal, any progress on this?

Yep 👼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dialects Changes on the dialects minor For minor PRs, easy and quick to review, quickly mergeable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants