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> {
806
806
807
807
int64_t dim = concatOp.getDim ();
808
808
ArrayRef<int64_t > inferredResultShape =
809
- concatOp. inferResultType (dim, concatOp->getOperandTypes ()).getShape ();
809
+ ConcatOp:: inferResultType (dim, concatOp->getOperandTypes ()).getShape ();
810
810
811
811
// Find operands for which a more static shape can be inferred.
812
812
SmallVector<std::tuple<size_t , RankedTensorType>> refinedTypes;
@@ -861,7 +861,7 @@ struct InferConcatResultType : public OpRewritePattern<ConcatOp> {
861
861
PatternRewriter &rewriter) const override {
862
862
int64_t dim = concatOp.getDim ();
863
863
RankedTensorType inferredResultType =
864
- concatOp. inferResultType (dim, concatOp->getOperandTypes ());
864
+ ConcatOp:: inferResultType (dim, concatOp->getOperandTypes ());
865
865
866
866
// The result type should be at least as static as inferred result type.
867
867
if (preservesStaticInformation (inferredResultType,
@@ -874,7 +874,7 @@ struct InferConcatResultType : public OpRewritePattern<ConcatOp> {
874
874
rewriter.replaceOpWithNewOp <CastOp>(concatOp, concatOp.getResultType (),
875
875
newConcatOp);
876
876
877
- return llvm:: success ();
877
+ return success ();
878
878
}
879
879
};
880
880
} // namespace
You can’t perform that action at this time.
0 commit comments