summaryrefslogtreecommitdiff
path: root/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'utils/bazel/llvm-project-overlay/mlir/BUILD.bazel')
-rw-r--r--utils/bazel/llvm-project-overlay/mlir/BUILD.bazel20
1 files changed, 20 insertions, 0 deletions
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 51246025c6da..2880e05514d3 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -7129,6 +7129,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",
@@ -7144,6 +7163,7 @@ cc_library(
":Observers",
":Parser",
":Pass",
+ ":PluginsLib",
":Support",
"//llvm:Support",
],