File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
mlir/lib/Dialect/Tensor/IR Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -806,7 +806,7 @@ struct InferConcatOperandTypes : public OpRewritePattern<ConcatOp> {
806806
807807 int64_t dim = concatOp.getDim ();
808808 ArrayRef<int64_t > inferredResultShape =
809- concatOp. inferResultType (dim, concatOp->getOperandTypes ()).getShape ();
809+ ConcatOp:: inferResultType (dim, concatOp->getOperandTypes ()).getShape ();
810810
811811 // Find operands for which a more static shape can be inferred.
812812 SmallVector<std::tuple<size_t , RankedTensorType>> refinedTypes;
@@ -861,7 +861,7 @@ struct InferConcatResultType : public OpRewritePattern<ConcatOp> {
861861 PatternRewriter &rewriter) const override {
862862 int64_t dim = concatOp.getDim ();
863863 RankedTensorType inferredResultType =
864- concatOp. inferResultType (dim, concatOp->getOperandTypes ());
864+ ConcatOp:: inferResultType (dim, concatOp->getOperandTypes ());
865865
866866 // The result type should be at least as static as inferred result type.
867867 if (preservesStaticInformation (inferredResultType,
@@ -874,7 +874,7 @@ struct InferConcatResultType : public OpRewritePattern<ConcatOp> {
874874 rewriter.replaceOpWithNewOp <CastOp>(concatOp, concatOp.getResultType (),
875875 newConcatOp);
876876
877- return llvm:: success ();
877+ return success ();
878878 }
879879};
880880} // namespace
You can’t perform that action at this time.
0 commit comments