Skip to content

Commit

Permalink
Update compiler/plugins/target/AMD-AIE/iree-amd-aie/Transforms/AMDAIE…
Browse files Browse the repository at this point in the history
…FuseFillIntoForall.cpp

Co-authored-by: Vivian <[email protected]>
  • Loading branch information
newling and yzhang93 authored Dec 10, 2024
1 parent 98f610c commit 5845c95
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ void AMDAIEFuseFillIntoForallPass::runOnOperation() {
rewriter.replaceUsesWithIf(
bbArg, fusedFill.getResult(0), [&](OpOperand &operand) {
Operation *owner = operand.getOwner();
if (owner == fusedFill) {
return false;
} else if (isa<tensor::ParallelInsertSliceOp>(owner)) {
if (owner == fusedFill || isa<tensor::ParallelInsertSliceOp>(owner)) {
return false;
} else {
return true;
Expand Down

0 comments on commit 5845c95

Please sign in to comment.