Delete a bunch of unnecessary deps from MLIROptLib
These used to be necessary when this library contained the main method
itself. Now they are not and just add a ton of dependencies to this rule.
PiperOrigin-RevId: 349299027
Change-Id: Ife134eb0441185d386e596162fe823f1c3cb9e28
diff --git a/third_party/mlir/BUILD b/third_party/mlir/BUILD
index f74a469..1cec46b 100644
--- a/third_party/mlir/BUILD
+++ b/third_party/mlir/BUILD
@@ -3842,42 +3842,11 @@
],
includes = ["include"],
deps = [
- ":Analysis",
- ":ConversionPasses",
- ":GPUToGPURuntimeTransforms",
- ":GPUToNVVMTransforms",
- ":GPUToROCDLTransforms",
- ":GPUToSPIRVTransforms",
- ":GPUTransforms",
":IR",
- ":LLVMDialect",
- ":LinalgToLLVM",
- ":LinalgToSPIRV",
- ":LinalgToStandard",
- ":NVVMDialect",
":Parser",
":Pass",
- ":SCFTransforms",
- ":ShapeToStandard",
- ":ShapeTransforms",
- ":StandardOpsTransforms",
- ":StandardToLLVM",
- ":StandardToSPIRVTransforms",
":Support",
- ":Transforms",
- ":VectorToLLVM",
- ":VectorToSCF",
"@llvm-project//llvm:Support",
- "@llvm-project//mlir/test:TestAffine",
- "@llvm-project//mlir/test:TestDialect",
- "@llvm-project//mlir/test:TestIR",
- "@llvm-project//mlir/test:TestPass",
- "@llvm-project//mlir/test:TestReducer",
- "@llvm-project//mlir/test:TestRewrite",
- "@llvm-project//mlir/test:TestSPIRV",
- "@llvm-project//mlir/test:TestShapeDialect",
- "@llvm-project//mlir/test:TestTransforms",
- "@llvm-project//mlir/test:TestTypeDialect",
],
)
@@ -4030,7 +3999,9 @@
"@llvm-project//mlir/test:TestIR",
"@llvm-project//mlir/test:TestPass",
"@llvm-project//mlir/test:TestReducer",
+ "@llvm-project//mlir/test:TestRewrite",
"@llvm-project//mlir/test:TestSPIRV",
+ "@llvm-project//mlir/test:TestShapeDialect",
"@llvm-project//mlir/test:TestTosaDialect",
"@llvm-project//mlir/test:TestTransforms",
"@llvm-project//mlir/test:TestTypeDialect",