[PATCH] D130965: [mlir][Bazel] Update bazel build after 14d79afeae63d78de9483f750fafaba13c7ae2dc

Adrian Kuegel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 23:54:37 PDT 2022


akuegel created this revision.
Herald added subscribers: bzcheeseman, sdasgup3, wenzhicui, wrengr, cota, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, mgester, arpith-jacob, antiagainst, shauheen, rriddle, mehdi_amini.
Herald added a reviewer: ThomasRaoux.
Herald added a project: All.
akuegel requested review of this revision.
Herald added subscribers: llvm-commits, stephenneuendorffer, nicolasvasilache.
Herald added a project: LLVM.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130965

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


Index: utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
@@ -520,6 +520,27 @@
     ],
 )
 
+cc_library(
+  name = "TestNVGPU",
+  srcs = glob(["lib/Dialect/NVGPU/*.cpp"]),
+  defines = ["MLIR_CUDA_CONVERSIONS_ENABLED"],
+  includes = ["lib/Dialect/Test"],
+  deps = [
+      "//mlir:AffineDialect",
+      "//mlir:Analysis",
+      "//mlir:FuncDialect",
+      "//mlir:GPUDialect",
+      "//mlir:IR",
+      "//mlir:LLVMDialect",
+      "//mlir:MemRefDialect",
+      "//mlir:NVGPUDialect",
+      "//mlir:NVGPUTransforms",
+      "//mlir:Pass",
+      "//mlir:SCFDialect",
+      "//mlir:TransformUtils",
+  ],
+)
+
 cc_library(
     name = "TestSCF",
     srcs = glob(["lib/Dialect/SCF/*.cpp"]),
Index: utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -2187,6 +2187,7 @@
 cc_library(
     name = "NVGPUTransforms",
     srcs = [
+        "lib/Dialect/NVGPU/Transforms/MmaSyncTF32Transforms.cpp",
         "lib/Dialect/NVGPU/Transforms/OptimizeSharedMemory.cpp",
         "lib/Dialect/NVGPU/Transforms/PassDetail.h",
     ],
@@ -6344,6 +6345,7 @@
         "//mlir/test:TestLinalg",
         "//mlir/test:TestMath",
         "//mlir/test:TestMemRef",
+        "//mlir/test:TestNVGPU",
         "//mlir/test:TestPDLL",
         "//mlir/test:TestPass",
         "//mlir/test:TestReducer",


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130965.449194.patch
Type: text/x-patch
Size: 1659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220802/f210868d/attachment.bin>


More information about the llvm-commits mailing list