We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getClosestExtractSliceOfOperand
operand
1 parent 70e306b commit 686c34cCopy full SHA for 686c34c
lib/gc/Transforms/IterativeTilingAndFusion.cpp
@@ -46,6 +46,8 @@ getClosestExtractSliceOfOperand(OpOperand &operand) {
46
if (auto loop =
47
dyn_cast<LoopLikeOpInterface>(iterArg.getOwner()->getParentOp()))
48
return getClosestExtractSliceOfOperand(*loop.getTiedLoopInit(iterArg));
49
+ // If operand is not using loop init.
50
+ return failure();
51
}
52
53
Operation *defineOp = operand.get().getDefiningOp();
0 commit comments