[PATCH] D156355: [mlir][irdl] Fix BUILD files.
Ingo Müller via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 26 11:16:11 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd52b6c261d65: [mlir][irdl] Fix BUILD files. (authored by ingomueller-net).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156355/new/
https://reviews.llvm.org/D156355
Files:
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Index: utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -2178,6 +2178,7 @@
name = "IRDLTdFiles",
srcs = [
"include/mlir/Dialect/IRDL/IR/IRDL.td",
+ "include/mlir/Dialect/IRDL/IR/IRDLAttributes.td",
"include/mlir/Dialect/IRDL/IR/IRDLInterfaces.td",
"include/mlir/Dialect/IRDL/IR/IRDLOps.td",
"include/mlir/Dialect/IRDL/IR/IRDLTypes.td",
@@ -2242,6 +2243,42 @@
deps = [":IRDLTdFiles"],
)
+gentbl_cc_library(
+ name = "IRDLAttributesIncGen",
+ strip_include_prefix = "include",
+ tbl_outs = [
+ (
+ ["-gen-attrdef-decls"],
+ "include/mlir/Dialect/IRDL/IR/IRDLAttributes.h.inc",
+ ),
+ (
+ ["-gen-attrdef-defs"],
+ "include/mlir/Dialect/IRDL/IR/IRDLAttributes.cpp.inc",
+ ),
+ ],
+ tblgen = ":mlir-tblgen",
+ td_file = "include/mlir/Dialect/IRDL/IR/IRDLAttributes.td",
+ deps = [":IRDLTdFiles"],
+)
+
+gentbl_cc_library(
+ name = "IRDLEnumsIncGen",
+ strip_include_prefix = "include",
+ tbl_outs = [
+ (
+ ["-gen-enum-decls"],
+ "include/mlir/Dialect/IRDL/IR/IRDLEnums.h.inc",
+ ),
+ (
+ ["-gen-enum-defs"],
+ "include/mlir/Dialect/IRDL/IR/IRDLEnums.cpp.inc",
+ ),
+ ],
+ tblgen = ":mlir-tblgen",
+ td_file = "include/mlir/Dialect/IRDL/IR/IRDLAttributes.td",
+ deps = [":IRDLTdFiles"],
+)
+
gentbl_cc_library(
name = "IRDLOpsIncGen",
strip_include_prefix = "include",
@@ -2297,6 +2334,8 @@
deps = [
":Dialect",
":IR",
+ ":IRDLAttributesIncGen",
+ ":IRDLEnumsIncGen",
":IRDLIncGen",
":IRDLInterfacesIncGen",
":IRDLOpsIncGen",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156355.544448.patch
Type: text/x-patch
Size: 1923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230726/61e6e466/attachment.bin>
More information about the llvm-commits
mailing list