From b9555fc54ef15255c096e12ad852513110cd339a Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Fri, 31 Jan 2025 10:48:28 -0800 Subject: [PATCH] Fixing typo in schedule allocation alias tracking. (#19869) I think it was ok before (later analysis covered for the failure) but certainly produced bad debug output. --- .../compiler/Dialect/Stream/Transforms/ScheduleAllocation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/iree/compiler/Dialect/Stream/Transforms/ScheduleAllocation.cpp b/compiler/src/iree/compiler/Dialect/Stream/Transforms/ScheduleAllocation.cpp index 92ce6d93aaee..6cb8a2a1ce42 100644 --- a/compiler/src/iree/compiler/Dialect/Stream/Transforms/ScheduleAllocation.cpp +++ b/compiler/src/iree/compiler/Dialect/Stream/Transforms/ScheduleAllocation.cpp @@ -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();