aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGeoffrey Martin-Noble <gcmn@google.com>2021-10-07 12:45:53 -0700
committerGeoffrey Martin-Noble <gcmn@google.com>2021-10-07 12:51:27 -0700
commitf6e321f74d8d1a16c2690d15bfb39afed274a426 (patch)
tree8d960bf97bfa822d52b4fb39262858c79bc9a3b1 /utils
parentf6a74908a7e725cb13769ad12b9202185d87b83b (diff)
downloadllvm-f6e321f74d8d1a16c2690d15bfb39afed274a426.zip
llvm-f6e321f74d8d1a16c2690d15bfb39afed274a426.tar.gz
llvm-f6e321f74d8d1a16c2690d15bfb39afed274a426.tar.bz2
[Bazel] Update config for 3b01cf9286
Updates the Bazel config for changes from https://github.com/llvm/llvm-project/commit/3b01cf9286 by adding configuration for the new OpenMPOpsInterfaces tablegn target. Differential Revision: https://reviews.llvm.org/D111347
Diffstat (limited to 'utils')
-rw-r--r--utils/bazel/llvm-project-overlay/mlir/BUILD.bazel20
1 files changed, 20 insertions, 0 deletions
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 98d3d3e..ac9841b 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -5599,6 +5599,7 @@ td_library(
srcs = [
"include/mlir/Dialect/OpenMP/OmpCommon.td",
"include/mlir/Dialect/OpenMP/OpenMPOps.td",
+ "include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td",
],
deps = [
":LLVMOpsTdFiles",
@@ -5658,6 +5659,24 @@ gentbl_cc_library(
deps = [":OpenMPOpsTdFiles"],
)
+gentbl_cc_library(
+ name = "OpenMPInterfacesIncGen",
+ strip_include_prefix = "include",
+ tbl_outs = [
+ (
+ ["-gen-op-interface-decls"],
+ "include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.h.inc",
+ ),
+ (
+ ["-gen-op-interface-defs"],
+ "include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.cpp.inc",
+ ),
+ ],
+ tblgen = ":mlir-tblgen",
+ td_file = "include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td",
+ deps = [":OpenMPOpsTdFiles"],
+)
+
cc_library(
name = "OpenMPDialect",
srcs = glob(
@@ -5674,6 +5693,7 @@ cc_library(
":ControlFlowInterfaces",
":IR",
":LLVMDialect",
+ ":OpenMPInterfacesIncGen",
":OpenMPOpsIncGen",
":SideEffectInterfaces",
":StandardOps",