[llvm] [bazel]Fix Bazel build past bc29fc937c6cb4a210f80c93c79fc6ed97c801f8. (PR #119874)
Danial Klimkin via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 13 04:55:05 PST 2024
https://github.com/dklimkin created https://github.com/llvm/llvm-project/pull/119874
None
>From 5f757b5bdc475e920559059f88f298b3ca29d996 Mon Sep 17 00:00:00 2001
From: Danial Klimkin <dklimkin at google.com>
Date: Fri, 13 Dec 2024 13:53:09 +0100
Subject: [PATCH] [bazel]Fix Bazel build past
bc29fc937c6cb4a210f80c93c79fc6ed97c801f8.
---
.../llvm-project-overlay/mlir/BUILD.bazel | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index b5be59051cdfa7..b9ee2e4436fc57 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -5167,6 +5167,7 @@ cc_library(
":FuncDialect",
":FunctionInterfaces",
":GPUDialect",
+ ":GPUUtils",
":IR",
":LinalgDialect",
":MemRefDialect",
@@ -5795,6 +5796,7 @@ cc_library(
":ExecutionEngineUtils",
":FuncDialect",
":GPUDialect",
+ ":GPUUtils",
":GPUPassIncGen",
":GPUToLLVMIRTranslation",
":IR",
@@ -5829,6 +5831,26 @@ cc_library(
]),
)
+cc_library(
+ name = "GPUUtils",
+ srcs = glob(
+ [
+ "lib/Dialect/GPU/Utils/*.cpp",
+ ],
+ ),
+ hdrs = glob(["include/mlir/Dialect/GPU/Utils/*.h"]),
+ includes = ["include"],
+ deps = [
+ ":AffineDialect",
+ ":ArithDialect",
+ ":GPUDialect",
+ ":IR",
+ ":Support",
+ ":VectorDialect",
+ "//llvm:Support",
+ ],
+)
+
td_library(
name = "GPUTransformOpsTdFiles",
srcs = [
@@ -6188,6 +6210,7 @@ cc_library(
":FuncToLLVM",
":GPUCommonTransforms",
":GPUDialect",
+ ":GPUUtils",
":GPUTransforms",
":IR",
":LLVMCommonConversion",
More information about the llvm-commits
mailing list