Skip to content

Conversation

@tyb0807
Copy link
Contributor

@tyb0807 tyb0807 commented Dec 23, 2025

Changes:

  • ReadOp: Only propagate attribute to result (register), ignore memory
  • WriteOp: Only validate/propagate with register operand, ignore memory

This fixes false positives where memory resharding was incorrectly
flagged as propagation errors.

Fixes #622.

Copy link
Contributor

@ftynse ftynse left a comment

Choose a reason for hiding this comment

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

stacked commit LGTM modulo nits

Changes:
- ReadOp: Only propagate attribute to result (register), ignore memory
- WriteOp: Only validate/propagate with register operand, ignore memory

This fixes false positives where memory resharding was incorrectly
flagged as propagation errors.

Fixes iree-org#622.

Signed-off-by: tyb0807 <[email protected]>
Signed-off-by: tyb0807 <[email protected]>
@tyb0807 tyb0807 merged commit 93fbc79 into iree-org:main Dec 27, 2025
14 of 15 checks passed
@tyb0807 tyb0807 deleted the mem_ept branch December 27, 2025 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix elements_per_thread propagation to ignore memory operands

2 participants