[mlir][Bazel] Add TestMemRef target.

Needed after D118285

Differential Revision: https://reviews.llvm.org/D118330
This commit is contained in:
Adrian Kuegel 2022-01-27 09:44:06 +01:00
parent 426437d1fe
commit 199c2d63fd
2 changed files with 15 additions and 0 deletions

View File

@ -5719,6 +5719,7 @@ cc_binary(
"//mlir/test:TestIR",
"//mlir/test:TestLinalg",
"//mlir/test:TestMath",
"//mlir/test:TestMemRef",
"//mlir/test:TestPass",
"//mlir/test:TestReducer",
"//mlir/test:TestRewrite",

View File

@ -430,6 +430,20 @@ cc_library(
],
)
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"]),