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 @@ -1525,6 +1525,7 @@ ":SCFDialect", ":SparseTensor", ":SparseTensorPassIncGen", + ":SparseTensorUtils", ":StandardOps", ":StandardOpsTransforms", ":TensorDialect", @@ -1534,6 +1535,17 @@ ], ) +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 = [