diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel --- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel @@ -1483,11 +1483,9 @@ includes = ["include"], deps = [ ":ArmSVEIncGen", - ":FuncDialect", ":IR", ":LLVMDialect", ":SideEffectInterfaces", - ":VectorOps", "//llvm:Core", "//llvm:Support", ], @@ -1504,7 +1502,6 @@ ":IR", ":LLVMCommonConversion", ":LLVMDialect", - ":Pass", ":TransformUtils", "//llvm:Core", "//llvm:Support", @@ -1792,7 +1789,6 @@ deps = [ ":Affine", ":AffineAnalysis", - ":Analysis", ":ArithmeticDialect", ":BufferizationDialect", ":BufferizationTransforms", @@ -1937,7 +1933,6 @@ ":ArithmeticDialect", ":IR", ":LinalgOps", - ":SparseTensor", "//llvm:Support", ], ) @@ -1967,7 +1962,6 @@ ":Pass", ":SCFDialect", ":SCFTransforms", - ":SCFUtils", ":SparseTensor", ":SparseTensorPassIncGen", ":SparseTensorUtils", @@ -2103,7 +2097,6 @@ ":LoopLikeInterface", ":MemRefDialect", ":SideEffectInterfaces", - ":Support", ":TensorDialect", "//llvm:Support", ], @@ -2119,7 +2112,6 @@ ]), includes = ["include"], deps = [ - ":Dialect", ":EmitCAttributesIncGen", ":EmitCOpsIncGen", ":IR", @@ -2140,12 +2132,9 @@ deps = [ ":AsyncOpsIncGen", ":ControlFlowInterfaces", - ":Dialect", - ":FuncDialect", ":IR", ":InferTypeOpInterface", ":SideEffectInterfaces", - ":Support", "//llvm:Support", ], ) @@ -2793,13 +2782,10 @@ includes = ["include"], deps = [ ":ArithmeticDialect", - ":CallOpInterfaces", - ":CastOpInterfaces", ":CommonFolders", ":ControlFlowInterfaces", ":ControlFlowOpsIncGen", ":IR", - ":InferTypeOpInterface", ":SideEffectInterfaces", ":Support", "//llvm:Support", @@ -2822,7 +2808,6 @@ includes = ["include"], deps = [ ":ArithmeticDialect", - ":ArithmeticUtils", ":CallOpInterfaces", ":CastOpInterfaces", ":CommonFolders", @@ -2833,7 +2818,6 @@ ":InferTypeOpInterface", ":SideEffectInterfaces", ":Support", - ":VectorInterfaces", "//llvm:Support", ], ) @@ -2878,19 +2862,14 @@ hdrs = glob(["include/mlir/Dialect/Func/Transforms/*.h"]), includes = ["include"], deps = [ - ":Affine", - ":ArithmeticDialect", - ":ArithmeticTransforms", ":BufferizationDialect", ":BufferizationTransforms", ":FuncDialect", ":FuncTransformsPassIncGen", ":IR", - ":MemRefDialect", # TODO: Remove dependency on MemRef dialect ":Pass", ":SCFDialect", ":Support", - ":TensorDialect", ":Transforms", "//llvm:Support", ], @@ -2908,8 +2887,6 @@ ]), includes = ["include"], deps = [ - ":Affine", - ":AffineAnalysis", ":ArithmeticDialect", ":ArithmeticUtils", ":DialectUtils", @@ -2956,19 +2933,15 @@ includes = ["include"], deps = [ ":Affine", - ":AffineAnalysis", - ":Analysis", ":ArithmeticDialect", ":BufferizationDialect", ":BufferizationTransforms", ":DialectUtils", - ":FuncDialect", ":IR", ":LinalgOps", ":MemRefDialect", ":Pass", ":SCFDialect", - ":Support", ":TensorDialect", ":Transforms", ":VectorInterfaces", @@ -2994,13 +2967,11 @@ ":Affine", ":AffineAnalysis", ":ArithmeticDialect", - ":DialectUtils", ":FuncDialect", ":IR", ":MemRefDialect", ":Support", ":TensorDialect", - ":VectorInterfaces", ":VectorOps", "//llvm:Support", ], @@ -3783,12 +3754,10 @@ hdrs = ["include/mlir/Dialect/LLVMIR/NVVMDialect.h"], includes = ["include"], deps = [ - ":FuncDialect", ":IR", ":LLVMDialect", ":NVVMOpsIncGen", ":SideEffectInterfaces", - ":Support", "//llvm:AsmParser", "//llvm:Core", "//llvm:Support", @@ -3880,12 +3849,10 @@ hdrs = ["include/mlir/Dialect/LLVMIR/ROCDLDialect.h"], includes = ["include"], deps = [ - ":FuncDialect", ":IR", ":LLVMDialect", ":ROCDLOpsIncGen", ":SideEffectInterfaces", - ":Support", "//llvm:AsmParser", "//llvm:Core", "//llvm:Support", @@ -3965,7 +3932,6 @@ ":PDLOpsIncGen", ":PDLTypesIncGen", ":SideEffects", - ":Support", "//llvm:Support", ], ) @@ -4043,7 +4009,6 @@ ":PDLDialect", ":PDLInterpOpsIncGen", ":SideEffects", - ":Support", "//llvm:Support", ], ) @@ -4252,7 +4217,6 @@ ":IR", ":InferTypeOpInterface", ":Parser", - ":Pass", ":SPIRVAttrUtilsGen", ":SPIRVAvailabilityIncGen", ":SPIRVCanonicalizationIncGen", @@ -4294,7 +4258,6 @@ includes = ["include"], deps = [ ":SPIRVDialect", - ":Support", "//llvm:Support", ], ) @@ -4306,7 +4269,6 @@ includes = ["include"], deps = [ ":SPIRVDialect", - ":Support", ":TransformUtils", "//llvm:Support", ], @@ -4333,7 +4295,6 @@ ":SPIRVDialect", ":SPIRVPassIncGen", ":SPIRVUtils", - ":Support", ":Transforms", "//llvm:Support", ], @@ -4344,9 +4305,7 @@ hdrs = ["lib/Conversion/SPIRVCommon/Pattern.h"], includes = ["include"], deps = [ - ":IR", ":SPIRVDialect", - ":Support", ":Transforms", ], ) @@ -4450,7 +4409,6 @@ hdrs = ["include/mlir/Target/SPIRV/SPIRVBinaryUtils.h"], includes = ["include"], deps = [ - ":IR", ":SPIRVAttrUtilsGen", ":SPIRVDialect", ":SPIRVOpsIncGen", @@ -4603,7 +4561,6 @@ ":IR", ":InferTypeOpInterface", ":SideEffectInterfaces", - ":Support", ":TensorOpsIncGen", ":TilingInterface", ":ViewLikeInterface", @@ -4651,8 +4608,6 @@ deps = [ ":Affine", ":ArithmeticDialect", - ":IR", - ":Support", ":TensorDialect", "//llvm:Support", ], @@ -4691,7 +4646,6 @@ includes = ["include"], deps = [ ":ArithmeticDialect", - ":Async", ":BufferizationDialect", ":BufferizationTransforms", ":DialectUtils", @@ -4701,7 +4655,6 @@ ":ParallelLoopMapperAttrGen", ":Pass", ":SCFDialect", - ":Support", ":TensorDialect", ":TensorPassIncGen", ":Transforms", @@ -4779,7 +4732,6 @@ deps = [ ":DerivedAttributeOpInterfaceIncGen", ":IR", - ":Support", "//llvm:Support", ], ) @@ -4940,7 +4892,6 @@ deps = [ ":Analysis", ":ControlFlowInterfaces", - ":CopyOpInterface", ":IR", ":LoopLikeInterface", ":Pass", @@ -5349,7 +5300,6 @@ deps = [ ":CallOpInterfacesIncGen", ":IR", - ":Support", "//llvm:Support", ], ) @@ -5380,7 +5330,6 @@ deps = [ ":CastOpInterfacesIncGen", ":IR", - ":Support", "//llvm:Support", ], ) @@ -5411,7 +5360,6 @@ deps = [ ":ControlFlowInterfacesIncGen", ":IR", - ":Support", "//llvm:Support", ], ) @@ -5473,7 +5421,6 @@ deps = [ ":IR", ":SideEffectInterfacesIncGen", - ":Support", "//llvm:Support", ], ) @@ -5587,7 +5534,6 @@ ":AMX", ":AMXConversionIncGen", ":IR", - ":Support", ":ToLLVMIRTranslation", "//llvm:Core", "//llvm:Support", @@ -5601,7 +5547,6 @@ includes = ["include"], deps = [ ":IR", - ":Support", ":ToLLVMIRTranslation", ":X86Vector", ":X86VectorConversionIncGen", @@ -5620,7 +5565,6 @@ ":ArmNeonConversionIncGen", ":ArmNeonIncGen", ":IR", - ":Support", ":ToLLVMIRTranslation", "//llvm:Core", "//llvm:Support", @@ -5636,7 +5580,6 @@ ":ArmSVE", ":ArmSVEConversionIncGen", ":IR", - ":Support", ":ToLLVMIRTranslation", "//llvm:Core", "//llvm:Support", @@ -5652,7 +5595,6 @@ ":IR", ":NVVMConversionIncGen", ":NVVMDialect", - ":Support", ":ToLLVMIRTranslation", "//llvm:Core", "//llvm:Support", @@ -5668,7 +5610,6 @@ ":IR", ":ROCDLConversionIncGen", ":ROCDLDialect", - ":Support", ":ToLLVMIRTranslation", "//llvm:Core", "//llvm:Support", @@ -5798,9 +5739,7 @@ ":LLVMDialect", ":Support", ":ToLLVMIRTranslation", - ":Translation", "//llvm:AllTargetsAsmParsers", - "//llvm:BitReader", "//llvm:BitWriter", "//llvm:Core", "//llvm:ExecutionEngine", @@ -5861,8 +5800,6 @@ deps = [ ":AllPassesAndDialects", ":AllTranslations", - ":IR", - ":Parser", ":Support", ":Translation", "//llvm:Support", @@ -6053,7 +5990,6 @@ ":OpenACCToLLVMIRTranslation", ":OpenMPToLLVMIRTranslation", ":Parser", - ":Pass", ":SCFToStandard", ":Support", "//llvm:Core", @@ -6223,7 +6159,6 @@ ":GPUDialect", ":GPUToSPIRV", ":GPUTransforms", - ":IR", ":LLVMDialect", ":LLVMToLLVMIRTranslation", ":MemRefDialect", @@ -6258,7 +6193,6 @@ srcs = ["tools/mlir-tblgen/mlir-tblgen.cpp"], includes = ["include"], deps = [ - ":Support", ":TableGen", "//llvm:Support", "//llvm:TableGen", @@ -7115,7 +7049,6 @@ ":FuncDialect", ":FuncTransforms", ":IR", - ":InferTypeOpInterface", ":LinalgOps", ":LinalgPassIncGen", ":LinalgStructuredOpsIncGen", @@ -7155,11 +7088,9 @@ deps = [ ":BufferizationDialect", ":BufferizationTransforms", - ":DialectUtils", ":FuncDialect", ":IR", ":MemRefDialect", - ":Support", "//llvm:Support", ], ) @@ -7606,8 +7537,6 @@ ":IR", ":InferTypeOpInterface", ":SideEffectInterfaces", - ":Support", - ":VectorInterfaces", "//llvm:Support", ], ) @@ -7774,7 +7703,6 @@ ":IR", ":InferTypeOpInterface", ":SideEffectInterfaces", - ":Support", ":VectorInterfaces", "//llvm:Support", ], @@ -7817,7 +7745,6 @@ ":IR", ":MemRefDialect", ":Pass", - ":Support", ":TransformUtils", ":Transforms", "//llvm:Support", @@ -7914,7 +7841,6 @@ ":MathBaseIncGen", ":MathOpsIncGen", ":SideEffectInterfaces", - ":Support", ":VectorInterfaces", "//llvm:Support", ], @@ -7934,9 +7860,6 @@ ":FuncDialect", ":IR", ":MathDialect", - ":Pass", - ":SCFDialect", - ":Support", ":Transforms", ":VectorOps", ":VectorUtils", @@ -8101,7 +8024,6 @@ ":MemRefDialect", ":MemRefPassIncGen", ":Pass", - ":Support", ":TensorDialect", ":Transforms", ":VectorOps", @@ -8222,15 +8144,11 @@ ":BufferizableOpInterfaceIncGen", ":BufferizationBaseIncGen", ":BufferizationOpsIncGen", - ":ControlFlowInterfaces", - ":CopyOpInterface", ":FuncDialect", ":IR", - ":InferTypeOpInterface", ":MemRefDialect", ":Support", ":TensorDialect", - ":ViewLikeInterface", "//llvm:Support", ], ) @@ -8269,14 +8187,11 @@ ":BufferizationDialect", ":BufferizationPassIncGen", ":ControlFlowInterfaces", - ":DialectUtils", ":FuncDialect", ":IR", - ":InferTypeOpInterface", ":LoopLikeInterface", ":MemRefDialect", ":Pass", - ":Support", ":Transforms", "//llvm:Support", ], @@ -8414,7 +8329,6 @@ ":AllPassesAndDialects", ":IR", ":MlirReduceLib", - ":Pass", "//llvm:Support", "//mlir/test:TestDialect", ],