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.
1 parent b9567bc commit 69bcb69Copy full SHA for 69bcb69
mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
@@ -817,7 +817,7 @@ struct DimOfDestStyleOp : public OpRewritePattern<DimOp> {
817
return failure();
818
819
auto resultIndex = source.cast<OpResult>().getResultNumber();
820
- auto initOperand = destOp.getDpsInitOperand(resultIndex);
+ auto *initOperand = destOp.getDpsInitOperand(resultIndex);
821
822
rewriter.modifyOpInPlace(
823
dimOp, [&]() { dimOp.getSourceMutable().assign(initOperand->get()); });
0 commit comments