[llvm] Fix bazel build past abd95342f0b94e140b36ac954b8f8c29b1393861 (PR #96143)
Danial Klimkin via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 20 00:07:21 PDT 2024
https://github.com/dklimkin created https://github.com/llvm/llvm-project/pull/96143
None
>From 3ed803a07020d6fccbaf26068605183f3bdbc6b5 Mon Sep 17 00:00:00 2001
From: Danial Klimkin <dklimkin at google.com>
Date: Thu, 20 Jun 2024 09:06:06 +0200
Subject: [PATCH] Fix bazel build past abd95342f0b94e140b36ac954b8f8c29b1393861
---
.../llvm-project-overlay/mlir/BUILD.bazel | 27 +++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 0e7d9581fc3c9..10d32e057daa0 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -13783,12 +13783,39 @@ gentbl_cc_library(
deps = [":OpBaseTdFiles"],
)
+gentbl_cc_library(
+ name = "DLTIAttrsIncGen",
+ tbl_outs = [
+ (
+ [
+ "-gen-attrdef-decls",
+ "-dialect=dlti",
+ ],
+ "include/mlir/Dialect/DLTI/DLTIAttrs.h.inc",
+ ),
+ (
+ [
+ "-gen-attrdef-defs",
+ "-dialect=dlti",
+ ],
+ "include/mlir/Dialect/DLTI/DLTIAttrs.cpp.inc",
+ ),
+ ],
+ tblgen = ":mlir-tblgen",
+ td_file = "include/mlir/Dialect/DLTI/DLTIAttrs.td",
+ deps = [
+ ":AttrTdFiles",
+ ":DLTIDialectTdFiles",
+ ],
+)
+
cc_library(
name = "DLTIDialect",
srcs = glob(["lib/Dialect/DLTI/*.cpp"]),
hdrs = glob(["include/mlir/Dialect/DLTI/*.h"]),
includes = ["include"],
deps = [
+ ":DLTIAttrsIncGen",
":DLTIBaseIncGen",
":DataLayoutInterfaces",
":IR",
More information about the llvm-commits
mailing list