diff options
author | Jacques Pienaar <jpienaar@google.com> | 2022-07-08 03:36:28 +0300 |
---|---|---|
committer | Jacques Pienaar <jpienaar@google.com> | 2022-07-08 03:36:28 +0300 |
commit | e60cc52b791fc00e97f4f54507687a93738bee7f (patch) | |
tree | 41740c8e559323db16ccc00c8b928fdbe58e9bc3 /utils | |
parent | 7789c9afc1237e409cddb83bf199231441851305 (diff) |
[mlir][bzl] Update for 1a92dbcfa88a857bf735c897125d9a2f9be53e9e and cab44c515c63db876a7f626fdc36be4a9157ebad
Diffstat (limited to 'utils')
-rw-r--r-- | utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel index 1258798a9ab6..e66f4fd7e452 100644 --- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel @@ -3775,6 +3775,7 @@ cc_library( ":LLVMCommonConversion", ":Pass", ":ROCDLDialect", + ":Support", ":Transforms", "//llvm:Support", ], @@ -6811,6 +6812,7 @@ td_library( "include/mlir/Dialect/OpenMP/OmpCommon.td", "include/mlir/Dialect/OpenMP/OpenMPOps.td", "include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td", + "include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.td", ], deps = [ ":LLVMOpsTdFiles", @@ -6853,14 +6855,6 @@ gentbl_cc_library( "include/mlir/Dialect/OpenMP/OpenMPOpsDialect.cpp.inc", ), ( - ["-gen-type-interface-decls"], - "include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.h.inc", - ), - ( - ["-gen-type-interface-defs"], - "include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.cpp.inc", - ), - ( [ "-gen-attrdef-decls", "-attrdefs-dialect=omp", @@ -6885,6 +6879,24 @@ gentbl_cc_library( ) gentbl_cc_library( + name = "OpenMPTypeInterfacesIncGen", + strip_include_prefix = "include", + tbl_outs = [ + ( + ["-gen-type-interface-decls"], + "include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.h.inc", + ), + ( + ["-gen-type-interface-defs"], + "include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.cpp.inc", + ), + ], + tblgen = ":mlir-tblgen", + td_file = "include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.td", + deps = [":OpenMPOpsTdFiles"], +) + +gentbl_cc_library( name = "OpenMPInterfacesIncGen", strip_include_prefix = "include", tbl_outs = [ @@ -6920,6 +6932,7 @@ cc_library( ":LLVMDialect", ":OpenMPInterfacesIncGen", ":OpenMPOpsIncGen", + ":OpenMPTypeInterfacesIncGen", "//llvm:Support", ], ) |