[PATCH] D148678: bazel patch for OpenACC changes
Aart Bik via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 18 18:27:31 PDT 2023
aartbik updated this revision to Diff 514801.
aartbik added a comment.
rebased with main
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148678/new/
https://reviews.llvm.org/D148678
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
@@ -7813,7 +7813,10 @@
name = "OpenAccOpsTdFiles",
srcs = [
"include/mlir/Dialect/OpenACC/AccCommon.td",
+ "include/mlir/Dialect/OpenACC/OpenACCBase.td",
"include/mlir/Dialect/OpenACC/OpenACCOps.td",
+ "include/mlir/Dialect/OpenACC/OpenACCOpsTypes.td",
+ "include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.td",
],
includes = ["include"],
deps = [":OpBaseTdFiles"],
@@ -7874,6 +7877,52 @@
],
tblgen = ":mlir-tblgen",
td_file = "include/mlir/Dialect/OpenACC/OpenACCOps.td",
+ deps = [
+ ":BuiltinDialectTdFiles",
+ ":OpenAccOpsTdFiles",
+ ":SideEffectInterfacesTdFiles",
+ ],
+)
+
+gentbl_cc_library(
+ name = "OpenACCTypesIncGen",
+ strip_include_prefix = "include",
+ tbl_outs = [
+ (
+ [
+ "--gen-typedef-decls",
+ "-typedefs-dialect=acc",
+ ],
+ "include/mlir/Dialect/OpenACC/OpenACCOpsTypes.h.inc",
+ ),
+ (
+ [
+ "--gen-typedef-defs",
+ "-typedefs-dialect=acc",
+ ],
+ "include/mlir/Dialect/OpenACC/OpenACCOpsTypes.cpp.inc",
+ ),
+ ],
+ tblgen = ":mlir-tblgen",
+ td_file = "include/mlir/Dialect/OpenACC/OpenACCOpsTypes.td",
+ deps = [":OpenAccOpsTdFiles"],
+)
+
+gentbl_cc_library(
+ name = "OpenACCTypeInterfacesIncGen",
+ strip_include_prefix = "include",
+ tbl_outs = [
+ (
+ ["-gen-type-interface-decls"],
+ "include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.h.inc",
+ ),
+ (
+ ["-gen-type-interface-defs"],
+ "include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.cpp.inc",
+ ),
+ ],
+ tblgen = ":mlir-tblgen",
+ td_file = "include/mlir/Dialect/OpenACC/OpenACCTypeInterfaces.td",
deps = [":OpenAccOpsTdFiles"],
)
@@ -7891,7 +7940,11 @@
includes = ["include"],
deps = [
":IR",
+ ":LLVMDialect",
+ ":MemRefDialect",
":OpenACCOpsIncGen",
+ ":OpenACCTypeInterfacesIncGen",
+ ":OpenACCTypesIncGen",
":Transforms",
"//llvm:Support",
],
@@ -8075,6 +8128,8 @@
":FuncDialect",
":IR",
":OpenACCDialect",
+ ":OpenACCOpsIncGen",
+ ":OpenACCTypesIncGen",
":Pass",
":SCFDialect",
":Transforms",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148678.514801.patch
Type: text/x-patch
Size: 2649 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230419/4c9390cc/attachment.bin>
More information about the llvm-commits
mailing list