Skip to content

Commit

Permalink
[mlir][Bazel] Add TestMemRef target.
Browse files Browse the repository at this point in the history
Needed after D118285

Differential Revision: https://reviews.llvm.org/D118330
  • Loading branch information
akuegel committed Jan 27, 2022
1 parent 426437d commit 199c2d6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Expand Up @@ -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",
Expand Down
14 changes: 14 additions & 0 deletions utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
Expand Up @@ -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"]),
Expand Down

0 comments on commit 199c2d6

Please sign in to comment.