Skip to content

Commit 7550bcf

Browse files
authored
[Encoding][NFC] Trim dependencies for Encoding dialect. (#20469)
The Encoding dialect does not depend on the removed dialects and interfaces. They were probably added when it got moved out LinalgExt dialect. --------- Signed-off-by: hanhanW <hanhan0912@gmail.com>
1 parent 5e2e37d commit 7550bcf

File tree

5 files changed

+0
-40
lines changed

5 files changed

+0
-40
lines changed

compiler/src/iree/compiler/Dialect/Encoding/IR/BUILD.bazel

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,10 @@ iree_td_library(
2626
),
2727
deps = [
2828
"@llvm-project//mlir:BuiltinDialectTdFiles",
29-
"@llvm-project//mlir:CallInterfacesTdFiles",
30-
"@llvm-project//mlir:ControlFlowInterfacesTdFiles",
3129
"@llvm-project//mlir:InferTypeOpInterfaceTdFiles",
3230
"@llvm-project//mlir:OpBaseTdFiles",
3331
"@llvm-project//mlir:PDLDialectTdFiles",
3432
"@llvm-project//mlir:SideEffectInterfacesTdFiles",
35-
"@llvm-project//mlir:TilingInterfaceTdFiles",
36-
"@llvm-project//mlir:TransformDialectTdFiles",
37-
"@llvm-project//mlir:ViewLikeInterfaceTdFiles",
3833
],
3934
)
4035

@@ -71,30 +66,16 @@ iree_compiler_cc_library(
7166
":EncodingOpsIncGen",
7267
":EncodingTypesGen",
7368
"@llvm-project//llvm:Support",
74-
"@llvm-project//mlir:AffineDialect",
75-
"@llvm-project//mlir:AffineUtils",
7669
"@llvm-project//mlir:ArithDialect",
77-
"@llvm-project//mlir:ArithUtils",
78-
"@llvm-project//mlir:ControlFlowInterfaces",
79-
"@llvm-project//mlir:DestinationStyleOpInterface",
8070
"@llvm-project//mlir:DialectUtils",
81-
"@llvm-project//mlir:FuncDialect",
82-
"@llvm-project//mlir:FunctionInterfaces",
8371
"@llvm-project//mlir:IR",
8472
"@llvm-project//mlir:InferTypeOpInterface",
8573
"@llvm-project//mlir:InliningUtils",
8674
"@llvm-project//mlir:LinalgDialect",
8775
"@llvm-project//mlir:LinalgUtils",
88-
"@llvm-project//mlir:MathDialect",
89-
"@llvm-project//mlir:MemRefDialect",
90-
"@llvm-project//mlir:Pass",
91-
"@llvm-project//mlir:SCFDialect",
92-
"@llvm-project//mlir:SideEffectInterfaces",
9376
"@llvm-project//mlir:Support",
9477
"@llvm-project//mlir:TensorDialect",
9578
"@llvm-project//mlir:TensorUtils",
96-
"@llvm-project//mlir:TilingInterface",
97-
"@llvm-project//mlir:ViewLikeInterface",
9879
],
9980
)
10081

compiler/src/iree/compiler/Dialect/Encoding/IR/CMakeLists.txt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,28 +42,14 @@ iree_cc_library(
4242
::EncodingOpsIncGen
4343
::EncodingTypesGen
4444
LLVMSupport
45-
MLIRAffineDialect
46-
MLIRAffineUtils
4745
MLIRArithDialect
48-
MLIRArithUtils
49-
MLIRControlFlowInterfaces
50-
MLIRDestinationStyleOpInterface
51-
MLIRFuncDialect
52-
MLIRFunctionInterfaces
5346
MLIRIR
5447
MLIRInferTypeOpInterface
5548
MLIRLinalgDialect
5649
MLIRLinalgUtils
57-
MLIRMathDialect
58-
MLIRMemRefDialect
59-
MLIRPass
60-
MLIRSCFDialect
61-
MLIRSideEffectInterfaces
6250
MLIRSupport
6351
MLIRTensorDialect
6452
MLIRTensorUtils
65-
MLIRTilingInterface
66-
MLIRViewLikeInterface
6753
PUBLIC
6854
)
6955

compiler/src/iree/compiler/Dialect/Encoding/IR/EncodingOps.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313
#include "mlir/IR/BuiltinTypes.h"
1414
#include "mlir/IR/Dialect.h"
1515
#include "mlir/IR/OpDefinition.h"
16-
#include "mlir/Interfaces/ControlFlowInterfaces.h"
17-
#include "mlir/Interfaces/InferTypeOpInterface.h"
18-
#include "mlir/Interfaces/SideEffectInterfaces.h"
19-
#include "mlir/Interfaces/TilingInterface.h"
2016

2117
// clang-format off
2218
#define GET_OP_CLASSES

compiler/src/iree/compiler/Dialect/Encoding/IR/EncodingTypes.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#include "iree/compiler/Dialect/Encoding/IR/EncodingTypes.h"
88

99
#include "llvm/ADT/SmallVector.h"
10-
#include "mlir/Dialect/Affine/Utils.h"
1110
#include "mlir/Dialect/Linalg/Utils/Utils.h"
1211
#include "mlir/IR/AffineMap.h"
1312
#include "mlir/IR/BuiltinAttributes.h"

compiler/src/iree/compiler/Dialect/Encoding/IR/EncodingTypes.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@
1212
#include "mlir/IR/BuiltinTypes.h"
1313
#include "mlir/IR/Dialect.h"
1414
#include "mlir/IR/OpDefinition.h"
15-
#include "mlir/Interfaces/ControlFlowInterfaces.h"
1615
#include "mlir/Interfaces/InferTypeOpInterface.h"
1716
#include "mlir/Interfaces/SideEffectInterfaces.h"
18-
#include "mlir/Interfaces/TilingInterface.h"
1917

2018
// clang-format off
2119
#include "iree/compiler/Dialect/Encoding/IR/EncodingEnums.h.inc" // IWYU pragma: export

0 commit comments

Comments
 (0)