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

rewriting: Make modify_block_argument_type modify_value_type #3045

Merged
merged 4 commits into from
Aug 18, 2024

Conversation

PapyChacal
Copy link
Collaborator

@PapyChacal PapyChacal commented Aug 16, 2024

This requires absolutely no change in itself, I'm not sure why it was typed BlockArgument specifically?

Also, consider modifying a block argument's type as a modification of the parent operation, if any. Is anyone finding it problematic? It didn't trigger any problem on tested stuff, and it's natural for my use-case; stacked PR to come.
No big deal if it's an alarm, I'll hoist it in my user code.

Note/Usecase: Was intended for:

But I meanwhile just including the logic in my own files instead of waiting on core.

@PapyChacal PapyChacal added minor For minor PRs, easy and quick to review, quickly mergeable rewriting changes on xDSL rewrite engine labels Aug 16, 2024
@PapyChacal PapyChacal self-assigned this Aug 16, 2024
Copy link

codecov bot commented Aug 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.89%. Comparing base (b12d2a5) to head (6d140ef).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3045      +/-   ##
==========================================
- Coverage   89.89%   89.89%   -0.01%     
==========================================
  Files         416      416              
  Lines       52173    52168       -5     
  Branches     8063     8062       -1     
==========================================
- Hits        46903    46898       -5     
- Misses       3977     3978       +1     
+ Partials     1293     1292       -1     

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

@PapyChacal PapyChacal marked this pull request as ready for review August 16, 2024 12:41
Copy link
Member

@superlopuh superlopuh left a comment

Choose a reason for hiding this comment

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

I would say that the code looks good, but would love to hear @math-fehr's opinion on the change before merging

@PapyChacal PapyChacal merged commit 8adc82d into main Aug 18, 2024
10 checks passed
@PapyChacal PapyChacal deleted the emilien/update-value-type branch August 18, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor For minor PRs, easy and quick to review, quickly mergeable rewriting changes on xDSL rewrite engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants