aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanial Klimkin <dklimkin@google.com>2024-06-20 09:08:46 +0200
committerGitHub <noreply@github.com>2024-06-20 09:08:46 +0200
commit1d1d007b4bc1d326c13b9cfcc65257c7fe78a301 (patch)
treea746de3ac5374321f9bc8a0697b628b745263331
parentcc145f40530667d65220536a3e03eabe9fdd46cf (diff)
downloadllvm-1d1d007b4bc1d326c13b9cfcc65257c7fe78a301.zip
llvm-1d1d007b4bc1d326c13b9cfcc65257c7fe78a301.tar.gz
llvm-1d1d007b4bc1d326c13b9cfcc65257c7fe78a301.tar.bz2
Fix bazel build past abd95342f0b94e140b36ac954b8f8c29b1393861 (#96143)
-rw-r--r--utils/bazel/llvm-project-overlay/mlir/BUILD.bazel27
1 files changed, 27 insertions, 0 deletions
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 0e7d958..10d32e0 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",