Skip to content

Commit

Permalink
Fix for destory value with not use_empty
Browse files Browse the repository at this point in the history
  • Loading branch information
jtuyls committed Apr 8, 2024
1 parent acab608 commit 300968b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -861,8 +861,7 @@ struct AIEObjectFifoStatefulTransformPass
// case, but is not fully generic.
if (auto nestedLoop = dyn_cast<scf::ForOp>(body->begin())) {
opIndex++;
auto clone = nestedLoop->clone();
replaceOperands(builder, clone, opIndex, base, step, inLoop,
replaceOperands(builder, nestedLoop, opIndex, base, step, inLoop,
numDuplications, dependencies, duplicatedOperations);
replaceOpsNested(nestedLoop, opIndex, numDuplications);
} else {
Expand Down

0 comments on commit 300968b

Please sign in to comment.