Skip to content

Commit ee712a6

Browse files
authored
Remove conv2d conversion to tosa.fully_connected (#536)
This is a part of the following upstream changes: llvm#126152 [mlir][tosa] Remove FullyConnectedOp from TOSA Dialect Upstream commit is 4ec1990
1 parent 7223b1f commit ee712a6

File tree

5 files changed

+0
-236
lines changed

5 files changed

+0
-236
lines changed

mlir/include/mlir/Dialect/Tosa/Transforms/Passes.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ namespace tosa {
2626

2727
// Expose Rewrite Functions that decompose TOSA Ops into further TOSA Ops.
2828
// The rewrites can be selectively added to a conversion pass.
29-
void populateTosaDecomposeConv2D(MLIRContext *ctx, RewritePatternSet &patterns);
3029
void populateTosaDecomposeTransposeConv(MLIRContext *ctx,
3130
RewritePatternSet &patterns);
3231
void populateTosaDecomposeDepthwise(MLIRContext *ctx,

mlir/lib/Dialect/Tosa/Transforms/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
add_mlir_dialect_library(MLIRTosaTransforms
22
TosaDecomposeTransposeConv.cpp
3-
TosaDecomposeConv2D.cpp
43
TosaDecomposeDepthwise.cpp
54
TosaFolders.cpp
65
TosaInferShapes.cpp

mlir/lib/Dialect/Tosa/Transforms/TosaDecomposeConv2D.cpp

Lines changed: 0 additions & 163 deletions
This file was deleted.

mlir/lib/Dialect/Tosa/Transforms/TosaOptionalDecompositions.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ struct TosaOptionalDecompositions
3838
RewritePatternSet patterns(ctx);
3939
auto func = getOperation();
4040

41-
mlir::tosa::populateTosaDecomposeConv2D(ctx, patterns);
4241
mlir::tosa::populateTosaDecomposeTransposeConv(ctx, patterns);
4342
mlir::tosa::populateTosaDecomposeDepthwise(ctx, patterns);
4443

mlir/test/Dialect/Tosa/tosa-decompose-conv2d.mlir

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)