Skip to content

Commit e901ea3

Browse files
committed
Dont try to fuse other consumers after failure
Signed-off-by: Ian Wood <[email protected]>
1 parent dcffbc1 commit e901ea3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/src/iree/compiler/DispatchCreation/FormDispatchRegions.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,8 @@ fuseRootsWithConsumers(MLIRContext *context, ArrayRef<Operation *> roots,
607607
options)) {
608608
appendToFusionGroup(consumerOp, rootNumber);
609609
workList.push_back(consumerOp);
610+
} else {
611+
break;
610612
}
611613
}
612614
}

0 commit comments

Comments
 (0)