File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mlir/lib/Dialect/Tensor/IR Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3469,7 +3469,7 @@ OpFoldResult SplatOp::fold(FoldAdaptor adaptor) {
34693469namespace {
34703470
34713471// / Packing one-dimensional tensor can be expressed as an expand shape op.
3472- struct SimplifyPackToExandShape : public OpRewritePattern <PackOp> {
3472+ struct SimplifyPackToExpandShape : public OpRewritePattern <PackOp> {
34733473 using OpRewritePattern<PackOp>::OpRewritePattern;
34743474
34753475 Value insertExpand (RewriterBase &rewriter, Location loc, Value operand,
@@ -3501,7 +3501,7 @@ struct SimplifyPackToExandShape : public OpRewritePattern<PackOp> {
35013501} // namespace
35023502
35033503void mlir::tensor::populateSimplifyTensorPack (RewritePatternSet &patterns) {
3504- patterns.add <SimplifyPackToExandShape >(patterns.getContext ());
3504+ patterns.add <SimplifyPackToExpandShape >(patterns.getContext ());
35053505}
35063506
35073507template <typename OpTy>
You can’t perform that action at this time.
0 commit comments