diff --git a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel --- a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel @@ -430,6 +430,20 @@ ], ) +cc_library( + name = "TestMemRef", + srcs = glob(["lib/Dialect/MemRef/*.cpp"]), + defines = ["MLIR_CUDA_CONVERSIONS_ENABLED"], + includes = ["lib/Dialect/Test"], + deps = [ + ":TestDialect", + "//mlir:Affine", + "//mlir:MemRefTransforms", + "//mlir:Pass", + "//mlir:Transforms", + ], +) + cc_library( name = "TestSCF", srcs = glob(["lib/Dialect/SCF/*.cpp"]),