[llvm] [bazel] Port #98653 (PR #99356)

Keith Smiley via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 10:02:30 PDT 2024


https://github.com/keith created https://github.com/llvm/llvm-project/pull/99356

None

>From 39229f760ea8baefde51d6b2b36ab1d3eb4b8f7c Mon Sep 17 00:00:00 2001
From: Keith Smiley <keithbsmiley at gmail.com>
Date: Wed, 17 Jul 2024 16:58:10 +0000
Subject: [PATCH] [bazel] Port #98653

---
 .../llvm-project-overlay/mlir/BUILD.bazel     | 27 +++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 8d2b2be67ad79..f23640ea0ff31 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -5992,6 +5992,7 @@ cc_library(
         ":LLVMCommonConversion",
         ":LLVMDialect",
         ":MathDialect",
+        ":MathToROCDL",
         ":MemRefDialect",
         ":MemRefToLLVM",
         ":Pass",
@@ -7279,6 +7280,32 @@ cc_library(
     ],
 )
 
+cc_library(
+    name = "MathToROCDL",
+    srcs = glob([
+        "lib/Conversion/MathToROCDL/*.cpp",
+    ]),
+    hdrs = glob([
+        "include/mlir/Conversion/MathToROCDL/*.h",
+    ]),
+    includes = ["include"],
+    deps = [
+        ":ConversionPassIncGen",
+        ":DialectUtils",
+        ":FuncDialect",
+        ":GPUCommonTransforms",
+        ":GPUToGPURuntimeTransforms",
+        ":IR",
+        ":LLVMCommonConversion",
+        ":LLVMDialect",
+        ":MathDialect",
+        ":Pass",
+        ":ROCDLDialect",
+        ":TransformUtils",
+        ":VectorDialect",
+    ],
+)
+
 cc_library(
     name = "FuncToEmitC",
     srcs = glob([



More information about the llvm-commits mailing list