From f0dd6faaecc89cea35a4aed591604b6a1b17a422 Mon Sep 17 00:00:00 2001 From: Geoffrey Martin-Noble Date: Thu, 24 Jun 2021 16:33:13 -0700 Subject: [PATCH] Update Bazel build for 744146f60b 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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel index 219fbd6b0c54..d35628cc9d12 100644 --- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel @@ -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 = [