Skip to content

Fix incorrect shape analysis for wraparound stacked load - #355

Merged
Micah Weston (red1bluelost) merged 1 commit into
microsoft:mainfrom
ziliangzl:fix/wrap-stacked
Sep 26, 2025
Merged

Fix incorrect shape analysis for wraparound stacked load#355
Micah Weston (red1bluelost) merged 1 commit into
microsoft:mainfrom
ziliangzl:fix/wrap-stacked

Conversation

@ziliangzl

@ziliangzl Ziliang Zhang (ziliangzl) commented Sep 17, 2025

Copy link
Copy Markdown
Contributor

If clampedOff does not overflow, then d1 may become greater than rowSize.
In such cases, d1 should be restricted with d1 = min(d1, rowSize)
Additionally, redundant minsi and subi operations in the subview have been simplified by using the block shape directly.

@red1bluelost
Micah Weston (red1bluelost) merged commit c3f2342 into microsoft:main Sep 26, 2025
4 checks passed
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.

2 participants