[llvm] Fix Bazel Build (PR #92139)
via llvm-commits
llvm-commits at lists.llvm.org
Tue May 14 09:12:14 PDT 2024
https://github.com/quanwanandy created https://github.com/llvm/llvm-project/pull/92139
None
>From 6e154759f9015c16e2aae75e6f9a51e9fc9f4589 Mon Sep 17 00:00:00 2001
From: Andy Wan <quanwanandy at google.com>
Date: Tue, 14 May 2024 09:11:14 -0700
Subject: [PATCH] Fix Bazel Build
---
.../llvm-project-overlay/mlir/BUILD.bazel | 19 +++++++++++++++++++
.../mlir/test/BUILD.bazel | 2 ++
2 files changed, 21 insertions(+)
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index debd8daf55497..a3171287a84b6 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -2092,6 +2092,20 @@ gentbl_cc_library(
deps = [":ArmSMETdFiles"],
)
+cc_library(
+ name = "ArmSMEOpInterfaces",
+ hdrs = [
+ "include/mlir/Dialect/ArmSME/IR/ArmSMEOpInterfaces.h",
+ ],
+ includes = ["include"],
+ deps = [
+ ":ArmSMEOpInterfacesIncGen",
+ ":IR",
+ ":Support",
+ "//llvm:Support",
+ ],
+)
+
gentbl_cc_library(
name = "ArmSMEIntrinsicOpsIncGen",
tbl_outs = [
@@ -2137,9 +2151,11 @@ cc_library(
":ArmSMEEnums",
":ArmSMEIncGen",
":ArmSMEIntrinsicOpsIncGen",
+ ":ArmSMEOpInterfaces",
":ArmSMEOpInterfacesIncGen",
":ArmSMEOpsIncGen",
":BytecodeOpInterface",
+ ":FunctionInterfaces",
":IR",
":LLVMDialect",
":MemRefDialect",
@@ -2156,6 +2172,7 @@ cc_library(
hdrs = glob(["include/mlir/Dialect/ArmSME/Transforms/*.h"]),
includes = ["include"],
deps = [
+ ":Analysis",
":ArithUtils",
":ArmSMEDialect",
":ArmSMETransformsPassIncGen",
@@ -2163,6 +2180,7 @@ cc_library(
":DialectUtils",
":FuncDialect",
":FuncTransforms",
+ ":FunctionInterfaces",
":IR",
":LLVMCommonConversion",
":LLVMDialect",
@@ -2200,6 +2218,7 @@ cc_library(
":ArmSMETransforms",
":ConversionPassIncGen",
":FuncDialect",
+ ":FunctionInterfaces",
":LLVMCommonConversion",
":LLVMDialect",
":MemRefDialect",
diff --git a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
index 65b31dc97e2d6..258cc88ebbf39 100644
--- a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
@@ -951,8 +951,10 @@ cc_library(
"//mlir:ArmSMEToSCF",
"//mlir:ArmSMETransforms",
"//mlir:ArmSVETransforms",
+ "//mlir:FuncDialect",
"//mlir:IR",
"//mlir:Pass",
+ "//mlir:SCFToControlFlow",
"//mlir:Transforms",
"//mlir:VectorToArmSME",
"//mlir:VectorToSCF",
More information about the llvm-commits
mailing list