Update Bazel build for 744146f60b
authorGeoffrey Martin-Noble <gcmn@google.com>
Thu, 24 Jun 2021 23:33:13 +0000 (16:33 -0700)
committerGeoffrey Martin-Noble <gcmn@google.com>
Thu, 24 Jun 2021 23:38:16 +0000 (16:38 -0700)
Updates Bazel build files to match
https://github.com/llvm/llvm-project/commit/744146f60b

Differential Revision: https://reviews.llvm.org/D104885

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

index 219fbd6..d35628c 100644 (file)
@@ -1525,6 +1525,7 @@ cc_library(
         ":SCFDialect",
         ":SparseTensor",
         ":SparseTensorPassIncGen",
+        ":SparseTensorUtils",
         ":StandardOps",
         ":StandardOpsTransforms",
         ":TensorDialect",
@@ -1534,6 +1535,17 @@ cc_library(
     ],
 )
 
+cc_library(
+    name = "SparseTensorUtils",
+    srcs = glob(["lib/Dialect/SparseTensor/Utils/*.cpp"]),
+    hdrs = glob(["include/mlir/Dialect/SparseTensor/Utils/*.h"]),
+    includes = ["include"],
+    deps = [
+        ":IR",
+        "//llvm:Support",
+    ],
+)
+
 td_library(
     name = "StdOpsTdFiles",
     srcs = [