[llvm] [bazel] fix bazel for (D152457) (PR #67706)
Peiming Liu via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 28 09:54:25 PDT 2023
https://github.com/PeimingLiu created https://github.com/llvm/llvm-project/pull/67706
None
>From 9e8376004996dc830523c7751810581e54859c2c Mon Sep 17 00:00:00 2001
From: Peiming Liu <peiming at google.com>
Date: Thu, 28 Sep 2023 16:53:58 +0000
Subject: [PATCH] [bazel] fix bazel for (D152457)
---
.../llvm-project-overlay/mlir/BUILD.bazel | 21 +++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index cd6d83db9680bbc..f1a377588f895a9 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -3520,6 +3520,7 @@ cc_library(
deps = [
":AMDGPUToROCDL",
":AffineToStandard",
+ ":ArithToAMDGPU",
":ArithToLLVM",
":ArithToSPIRV",
":ArmNeon2dToIntr",
@@ -7496,6 +7497,25 @@ cc_library(
],
)
+cc_library(
+ name = "ArithToAMDGPU",
+ srcs = glob(["lib/Conversion/ArithToAMDGPU/*.cpp"]),
+ hdrs = glob(["include/mlir/Conversion/ArithToAMDGPU/*.h"]),
+ includes = ["include"],
+ deps = [
+ ":AMDGPUDialect",
+ ":ArithDialect",
+ ":ConversionPassIncGen",
+ ":ConvertToLLVM",
+ ":IR",
+ ":LLVMDialect",
+ ":Pass",
+ ":Support",
+ ":Transforms",
+ ":VectorDialect",
+ ],
+)
+
cc_library(
name = "ArithToLLVM",
srcs = glob(["lib/Conversion/ArithToLLVM/*.cpp"]),
@@ -8303,6 +8323,7 @@ cc_library(
":AffineTransformOps",
":AffineTransforms",
":ArithDialect",
+ ":ArithToAMDGPU",
":ArithToLLVM",
":ArithToSPIRV",
":ArithTransforms",
More information about the llvm-commits
mailing list