Skip to content

Commit

Permalink
Fixing typo in schedule allocation alias tracking. (#19869)
Browse files Browse the repository at this point in the history
I think it was ok before (later analysis covered for the failure) but
certainly produced bad debug output.
  • Loading branch information
benvanik authored Jan 31, 2025
1 parent 10e66bc commit b9555fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ struct AllocationScope {
ResourceRange aliasRange = resourceRange;
if (auto subviewOp =
IREE::Stream::ResourceSubviewOp::findSubviewOp(alias)) {
aliasRange.resourceSize = subviewOp.getSubrangeResource();
aliasRange.resource = subviewOp.getSubrangeResource();
aliasRange.resourceSize = subviewOp.getSubrangeResourceSize();
aliasRange.offset = subviewOp.getSubrangeOffset();
aliasRange.length = subviewOp.getSubrangeLength();
Expand Down

0 comments on commit b9555fc

Please sign in to comment.