[llvm] Fix mlir/BUILD.bazel for VectorToXeGPU. (PR #153696)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 14 14:56:28 PDT 2025


https://github.com/DeanSturtevant1 created https://github.com/llvm/llvm-project/pull/153696

None

>From 1300ae0c71abd83f8e286e3f1211a7ece3e1a2d7 Mon Sep 17 00:00:00 2001
From: Dean Sturtevant <dsturtevant at google.com>
Date: Thu, 14 Aug 2025 17:22:23 -0400
Subject: [PATCH 1/2] Fix mlir/BUILD.bazel for XeGPUUtils.

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

diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index cd96f50186143..dba7af1c683b9 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -3723,11 +3723,14 @@ cc_library(
     includes = ["include"],
     deps = [
         ":DialectUtils",
+        ":GPUDialect",
         ":IR",
+        ":LLVMDialect",
         ":LoopLikeInterface",
         ":SCFTransforms",
         ":TransformUtils",
         ":XeGPUDialect",
+        ":XeVMDialect",
         "//llvm:Support",
     ],
 )

>From fc1db13f00e257efc1bbae165f0a51e34f8dcc36 Mon Sep 17 00:00:00 2001
From: Dean Sturtevant <dsturtevant at google.com>
Date: Thu, 14 Aug 2025 17:44:04 -0400
Subject: [PATCH 2/2] Fix mlir/BUILD.bazel for VectorToXeGPU.

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

diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index dba7af1c683b9..19b6ad57b28eb 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -7956,6 +7956,7 @@ cc_library(
         ":Transforms",
         ":VectorDialect",
         ":XeGPUDialect",
+        ":XeGPUUtils",
         "//llvm:Support",
     ],
 )



More information about the llvm-commits mailing list