[MLIR] Update bazel build files after 242d558658cd5a480b02883e2982d7246342e0d0
authorFrederik Gossen <frgossen@google.com>
Tue, 20 Sep 2022 19:11:12 +0000 (15:11 -0400)
committerFrederik Gossen <frgossen@google.com>
Tue, 20 Sep 2022 19:20:22 +0000 (15:20 -0400)
Differential Revision: https://reviews.llvm.org/D134301

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel

index f7af617..dc13487 100644 (file)
@@ -6421,6 +6421,7 @@ cc_binary(
         "//llvm:Support",
         "//mlir/test:TestAffine",
         "//mlir/test:TestAnalysis",
+        "//mlir/test:TestArithmetic",
         "//mlir/test:TestDLTI",
         "//mlir/test:TestDialect",
         "//mlir/test:TestFunc",
index ff6d0b6..4964c5d 100644 (file)
@@ -620,6 +620,23 @@ cc_library(
 )
 
 cc_library(
+    name = "TestArithmetic",
+    srcs = glob(["lib/Dialect/Arithmetic/*.cpp"]),
+    defines = ["MLIR_CUDA_CONVERSIONS_ENABLED"],
+    includes = ["lib/Dialect/Test"],
+    deps = [
+        "//mlir:ArithmeticDialect",
+        "//mlir:ArithmeticTransforms",
+        "//mlir:FuncDialect",
+        "//mlir:LLVMDialect",
+        "//mlir:MathDialect",
+        "//mlir:Pass",
+        "//mlir:Transforms",
+        "//mlir:VectorDialect",
+    ],
+)
+
+cc_library(
     name = "TestShapeDialect",
     srcs = [
         "lib/Dialect/Shape/TestShapeFunctions.cpp",