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 @@ -7128,6 +7128,24 @@ ], ) +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", + ], +) + cc_library( name = "MlirOptLib", srcs = [ @@ -7144,6 +7162,7 @@ ":Observers", ":Parser", ":Pass", + ":PluginsLib", ":Support", "//llvm:Support", ],