From: Alex Zinenko Date: Thu, 13 Apr 2023 12:58:11 +0000 (+0200) Subject: [mlir] fix mismerge in bazel X-Git-Tag: upstream/17.0.6~11757 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=842879b3b1e1fb3bf314e5f3d62da31133904606;p=platform%2Fupstream%2Fllvm.git [mlir] fix mismerge in bazel --- diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel index 1d11779..bbaa11e 100644 --- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel @@ -2386,14 +2386,15 @@ cc_library( ":MemRefTransforms", ":NVVMDialect", ":Pass", - ":SerializeToCubin", ":SparseTensorDialect", ":SparseTensorTransforms", ":TensorTransforms", ":Transforms", ":VectorToLLVM", ":VectorTransforms", - ], + ] + if_cuda_available([ + ":SerializeToCubin", + ]), ) ##---------------------------------------------------------------------------## @@ -3038,6 +3039,7 @@ cc_library( ":SCFPassIncGen", ":Support", ":TensorDialect", + ":ValueBoundsOpInterface", ":ViewLikeInterface", "//llvm:Support", ], @@ -5719,6 +5721,7 @@ cc_library( ":TensorDialect", ":TensorUtils", ":TilingInterface", + ":ValueBoundsOpInterface", "//llvm:Support", ], ) @@ -6527,6 +6530,7 @@ cc_library( ":LLVMDialect", ":MathDialect", ":Pass", + ":SCFDialect", ":Transforms", ":VectorDialect", ":VectorUtils", @@ -7128,6 +7132,25 @@ cc_library( ) cc_library( + name = "PluginsLib", + srcs = [ + "lib/Tools/Plugins/DialectPlugin.cpp", + "lib/Tools/Plugins/PassPlugin.cpp", + ], + hdrs = [ + "include/mlir/Tools/Plugins/DialectPlugin.h", + "include/mlir/Tools/Plugins/PassPlugin.h", + ], + includes = ["include"], + deps = [ + ":IR", + ":Pass", + ":Support", + "//llvm:Support", + ], +) + +cc_library( name = "MlirOptLib", srcs = [ "include/mlir/Tools/ParseUtilities.h", @@ -7143,6 +7166,7 @@ cc_library( ":Observers", ":Parser", ":Pass", + ":PluginsLib", ":Support", "//llvm:Support", ], @@ -8690,6 +8714,7 @@ cc_library( ":Support", ":TensorDialect", ":TilingInterface", + ":ValueBoundsOpInterface", ":ViewLikeInterface", "//llvm:Support", ], @@ -8808,6 +8833,7 @@ cc_library( deps = [ ":AffineAnalysis", ":AffineDialect", + ":AffineTransforms", ":AffineUtils", ":Analysis", ":ArithDialect", @@ -8845,6 +8871,7 @@ cc_library( ":TilingInterface", ":TransformUtils", ":Transforms", + ":ValueBoundsOpInterface", ":VectorDialect", ":VectorToSCF", ":VectorTransforms",