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) {
3469
3469
namespace {
3470
3470
3471
3471
// / Packing one-dimensional tensor can be expressed as an expand shape op.
3472
- struct SimplifyPackToExandShape : public OpRewritePattern <PackOp> {
3472
+ struct SimplifyPackToExpandShape : public OpRewritePattern <PackOp> {
3473
3473
using OpRewritePattern<PackOp>::OpRewritePattern;
3474
3474
3475
3475
Value insertExpand (RewriterBase &rewriter, Location loc, Value operand,
@@ -3501,7 +3501,7 @@ struct SimplifyPackToExandShape : public OpRewritePattern<PackOp> {
3501
3501
} // namespace
3502
3502
3503
3503
void mlir::tensor::populateSimplifyTensorPack (RewritePatternSet &patterns) {
3504
- patterns.add <SimplifyPackToExandShape >(patterns.getContext ());
3504
+ patterns.add <SimplifyPackToExpandShape >(patterns.getContext ());
3505
3505
}
3506
3506
3507
3507
template <typename OpTy>
You can’t perform that action at this time.
0 commit comments