File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ getClosestExtractSliceOfOperand(OpOperand &operand) {
46
46
if (auto loop =
47
47
dyn_cast<LoopLikeOpInterface>(iterArg.getOwner ()->getParentOp ()))
48
48
return getClosestExtractSliceOfOperand (*loop.getTiedLoopInit (iterArg));
49
+ // If operand is not using loop init.
50
+ return failure ();
49
51
}
50
52
51
53
Operation *defineOp = operand.get ().getDefiningOp ();
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ void populateCPUPipeline(mlir::OpPassManager &pm) {
184
184
populateBufferizationPasses (pm);
185
185
// REMOVE this pass after the TensorPasses are added. Currently we add this
186
186
// pass to make the pipeline work properly
187
- pm.addNestedPass <func::FuncOp>(createConvertLinalgToParallelLoopsPass ());
187
+ pm.addNestedPass <func::FuncOp>(createConvertLinalgToLoopsPass ());
188
188
populateMicroKernelPasses (pm);
189
189
populateCPURuntimePasses (pm);
190
190
// back-end, llvm dialect
You can’t perform that action at this time.
0 commit comments