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", ], @@ -3794,12 +3765,10 @@ hdrs = ["include/mlir/Dialect/LLVMIR/NVVMDialect.h"], includes = ["include"], deps = [ - ":FuncDialect", ":IR", ":LLVMDialect", ":NVVMOpsIncGen", ":SideEffectInterfaces", - ":Support", "//llvm:AsmParser", "//llvm:Core", "//llvm:Support", @@ -3891,12 +3860,10 @@ hdrs = ["include/mlir/Dialect/LLVMIR/ROCDLDialect.h"], includes = ["include"], deps = [ - ":FuncDialect", ":IR", ":LLVMDialect", ":ROCDLOpsIncGen", ":SideEffectInterfaces", - ":Support", "//llvm:AsmParser", "//llvm:Core", "//llvm:Support", @@ -3976,7 +3943,6 @@ ":PDLOpsIncGen", ":PDLTypesIncGen", ":SideEffects", - ":Support", "//llvm:Support", ], ) @@ -4054,7 +4020,6 @@ ":PDLDialect", ":PDLInterpOpsIncGen", ":SideEffects", - ":Support", "//llvm:Support", ], ) @@ -4263,7 +4228,6 @@ ":IR", ":InferTypeOpInterface", ":Parser", - ":Pass", ":SPIRVAttrUtilsGen", ":SPIRVAvailabilityIncGen", ":SPIRVCanonicalizationIncGen", @@ -4305,7 +4269,6 @@ includes = ["include"], deps = [ ":SPIRVDialect", - ":Support", "//llvm:Support", ], ) @@ -4317,7 +4280,6 @@ includes = ["include"], deps = [ ":SPIRVDialect", - ":Support", ":TransformUtils", "//llvm:Support", ], @@ -4344,7 +4306,6 @@ ":SPIRVDialect", ":SPIRVPassIncGen", ":SPIRVUtils", - ":Support", ":Transforms", "//llvm:Support", ], @@ -4355,9 +4316,7 @@ hdrs = ["lib/Conversion/SPIRVCommon/Pattern.h"], includes = ["include"], deps = [ - ":IR", ":SPIRVDialect", - ":Support", ":Transforms", ], ) @@ -4461,7 +4420,6 @@ hdrs = ["include/mlir/Target/SPIRV/SPIRVBinaryUtils.h"], includes = ["include"], deps = [ - ":IR", ":SPIRVAttrUtilsGen", ":SPIRVDialect", ":SPIRVOpsIncGen", @@ -4614,7 +4572,6 @@ ":IR", ":InferTypeOpInterface", ":SideEffectInterfaces", - ":Support", ":TensorOpsIncGen", ":TilingInterface", ":ViewLikeInterface", @@ -4662,8 +4619,6 @@ deps = [ ":Affine", ":ArithmeticDialect", - ":IR", - ":Support", ":TensorDialect", "//llvm:Support", ], @@ -4702,7 +4657,6 @@ includes = ["include"], deps = [ ":ArithmeticDialect", - ":Async", ":BufferizationDialect", ":BufferizationTransforms", ":DialectUtils", @@ -4712,7 +4666,6 @@ ":ParallelLoopMapperAttrGen", ":Pass", ":SCFDialect", - ":Support", ":TensorDialect", ":TensorPassIncGen", ":Transforms", @@ -4790,7 +4743,6 @@ deps = [ ":DerivedAttributeOpInterfaceIncGen", ":IR", - ":Support", "//llvm:Support", ], ) @@ -4951,7 +4903,6 @@ deps = [ ":Analysis", ":ControlFlowInterfaces", - ":CopyOpInterface", ":IR", ":LoopLikeInterface", ":Pass", @@ -5360,7 +5311,6 @@ deps = [ ":CallOpInterfacesIncGen", ":IR", - ":Support", "//llvm:Support", ], ) @@ -5391,7 +5341,6 @@ deps = [ ":CastOpInterfacesIncGen", ":IR", - ":Support", "//llvm:Support", ], ) @@ -5422,7 +5371,6 @@ deps = [ ":ControlFlowInterfacesIncGen", ":IR", - ":Support", "//llvm:Support", ], ) @@ -5484,7 +5432,6 @@ deps = [ ":IR", ":SideEffectInterfacesIncGen", - ":Support", "//llvm:Support", ], ) @@ -5601,7 +5548,6 @@ ":AMX", ":AMXConversionIncGen", ":IR", - ":Support", ":ToLLVMIRTranslation", "//llvm:Core", "//llvm:Support", @@ -5615,7 +5561,6 @@ includes = ["include"], deps = [ ":IR", - ":Support", ":ToLLVMIRTranslation", ":X86Vector", ":X86VectorConversionIncGen", @@ -5634,7 +5579,6 @@ ":ArmNeonConversionIncGen", ":ArmNeonIncGen", ":IR", - ":Support", ":ToLLVMIRTranslation", "//llvm:Core", "//llvm:Support", @@ -5650,7 +5594,6 @@ ":ArmSVE", ":ArmSVEConversionIncGen", ":IR", - ":Support", ":ToLLVMIRTranslation", "//llvm:Core", "//llvm:Support", @@ -5666,7 +5609,6 @@ ":IR", ":NVVMConversionIncGen", ":NVVMDialect", - ":Support", ":ToLLVMIRTranslation", "//llvm:Core", "//llvm:Support", @@ -5682,7 +5624,6 @@ ":IR", ":ROCDLConversionIncGen", ":ROCDLDialect", - ":Support", ":ToLLVMIRTranslation", "//llvm:Core", "//llvm:Support", @@ -5812,9 +5753,7 @@ ":LLVMDialect", ":Support", ":ToLLVMIRTranslation", - ":Translation", "//llvm:AllTargetsAsmParsers", - "//llvm:BitReader", "//llvm:BitWriter", "//llvm:Core", "//llvm:ExecutionEngine", @@ -5875,8 +5814,6 @@ deps = [ ":AllPassesAndDialects", ":AllTranslations", - ":IR", - ":Parser", ":Support", ":Translation", "//llvm:Support", @@ -6067,9 +6004,9 @@ ":OpenACCToLLVMIRTranslation", ":OpenMPToLLVMIRTranslation", ":Parser", - ":Pass", ":SCFToStandard", ":Support", + ":ToLLVMIRTranslation", "//llvm:Core", "//llvm:OrcJIT", "//llvm:Support", @@ -6237,7 +6174,6 @@ ":GPUDialect", ":GPUToSPIRV", ":GPUTransforms", - ":IR", ":LLVMDialect", ":LLVMToLLVMIRTranslation", ":MemRefDialect", @@ -6272,7 +6208,6 @@ srcs = ["tools/mlir-tblgen/mlir-tblgen.cpp"], includes = ["include"], deps = [ - ":Support", ":TableGen", "//llvm:Support", "//llvm:TableGen", @@ -7129,7 +7064,6 @@ ":FuncDialect", ":FuncTransforms", ":IR", - ":InferTypeOpInterface", ":LinalgOps", ":LinalgPassIncGen", ":LinalgStructuredOpsIncGen", @@ -7169,11 +7103,9 @@ deps = [ ":BufferizationDialect", ":BufferizationTransforms", - ":DialectUtils", ":FuncDialect", ":IR", ":MemRefDialect", - ":Support", "//llvm:Support", ], ) @@ -7620,8 +7552,6 @@ ":IR", ":InferTypeOpInterface", ":SideEffectInterfaces", - ":Support", - ":VectorInterfaces", "//llvm:Support", ], ) @@ -7788,7 +7718,6 @@ ":IR", ":InferTypeOpInterface", ":SideEffectInterfaces", - ":Support", ":VectorInterfaces", "//llvm:Support", ], @@ -7831,7 +7760,6 @@ ":IR", ":MemRefDialect", ":Pass", - ":Support", ":TransformUtils", ":Transforms", "//llvm:Support", @@ -7928,7 +7856,6 @@ ":MathBaseIncGen", ":MathOpsIncGen", ":SideEffectInterfaces", - ":Support", ":VectorInterfaces", "//llvm:Support", ], @@ -7948,9 +7875,6 @@ ":FuncDialect", ":IR", ":MathDialect", - ":Pass", - ":SCFDialect", - ":Support", ":Transforms", ":VectorOps", ":VectorUtils", @@ -8115,7 +8039,6 @@ ":MemRefDialect", ":MemRefPassIncGen", ":Pass", - ":Support", ":TensorDialect", ":Transforms", ":VectorOps", @@ -8236,15 +8159,11 @@ ":BufferizableOpInterfaceIncGen", ":BufferizationBaseIncGen", ":BufferizationOpsIncGen", - ":ControlFlowInterfaces", - ":CopyOpInterface", ":FuncDialect", ":IR", - ":InferTypeOpInterface", ":MemRefDialect", ":Support", ":TensorDialect", - ":ViewLikeInterface", "//llvm:Support", ], ) @@ -8283,14 +8202,11 @@ ":BufferizationDialect", ":BufferizationPassIncGen", ":ControlFlowInterfaces", - ":DialectUtils", ":FuncDialect", ":IR", - ":InferTypeOpInterface", ":LoopLikeInterface", ":MemRefDialect", ":Pass", - ":Support", ":Transforms", "//llvm:Support", ], @@ -8415,6 +8331,7 @@ ":Rewrite", ":Support", "//llvm:Support", + "//mlir/test:TestDialect", ], ) @@ -8428,9 +8345,7 @@ ":AllPassesAndDialects", ":IR", ":MlirReduceLib", - ":Pass", "//llvm:Support", - "//mlir/test:TestDialect", ], )