[llvm] [bazel] port d30554b19edc27bc9ca3475b888c1b3e4eda87c4 (PR #138022)

Jorge Gorbe Moya via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 30 13:42:59 PDT 2025


https://github.com/slackito created https://github.com/llvm/llvm-project/pull/138022

None

>From bb3844657acb8d5963e3bc1305e65812fe34a0b0 Mon Sep 17 00:00:00 2001
From: Jorge Gorbe Moya <jgorbe at google.com>
Date: Wed, 30 Apr 2025 13:41:28 -0700
Subject: [PATCH] [bazel] port d30554b19edc27bc9ca3475b888c1b3e4eda87c4

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

diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 1df94928172b8..1e8be2b8b94cb 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -3421,17 +3421,32 @@ cc_library(
         ":Analysis",
         ":FunctionInterfaces",
         ":GPUDialect",
+        ":GPUUtils",
         ":IR",
+        ":InliningUtils",
         ":MemRefDialect",
         ":Pass",
         ":TransformUtils",
         ":VectorDialect",
+        ":VectorTransforms",
         ":XeGPUDialect",
         ":XeGPUPassIncGen",
+        ":XeGPUUtils",
         "//llvm:Support",
     ],
 )
 
+cc_library(
+    name = "XeGPUUtils",
+    srcs = glob(["lib/Dialect/XeGPU/Utils/*.cpp"]),
+    hdrs = glob(["include/mlir/Dialect/XeGPU/Utils/*.h"]),
+    includes = ["include"],
+    deps = [
+        ":IR",
+        ":XeGPUDialect",
+    ],
+)
+
 td_library(
     name = "FuncTdFiles",
     srcs = [



More information about the llvm-commits mailing list