aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mlir/include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.h2
-rw-r--r--utils/bazel/llvm-project-overlay/mlir/BUILD.bazel11
2 files changed, 9 insertions, 4 deletions
diff --git a/mlir/include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.h b/mlir/include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.h
index 5e3c625..bbf7840 100644
--- a/mlir/include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.h
+++ b/mlir/include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.h
@@ -13,6 +13,8 @@
#ifndef MLIR_DIALECT_RELAYOUTOPINTERFACE_H_
#define MLIR_DIALECT_RELAYOUTOPINTERFACE_H_
+#include "mlir/IR/OpDefinition.h"
+
#include "mlir/Dialect/Linalg/IR/RelayoutOpInterface.h.inc"
#endif // MLIR_DIALECT_RELAYOUTOPINTERFACE_H_
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 3cbde42..269d41d 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -375,7 +375,7 @@ td_library(
srcs = ["include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.td"],
includes = ["include"],
deps = [
- ":DestinationStyleOpInterfaceTdFiles"
+ ":DestinationStyleOpInterfaceTdFiles",
],
)
@@ -401,7 +401,10 @@ gentbl_cc_library(
cc_library(
name = "RelayoutOpInterface",
hdrs = ["include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.h"],
- deps = [":RelayoutOpInterfaceIncGen"],
+ deps = [
+ ":IR",
+ ":RelayoutOpInterfaceIncGen",
+ ],
)
cc_library(
@@ -11185,10 +11188,10 @@ td_library(
":InferTypeOpInterfaceTdFiles",
":LoopLikeInterfaceTdFiles",
":OpBaseTdFiles",
+ ":RelayoutOpInterfaceIncGen",
":SideEffectInterfacesTdFiles",
":TilingInterfaceTdFiles",
":ViewLikeInterfaceTdFiles",
- ":RelayoutOpInterfaceIncGen",
],
)
@@ -11641,12 +11644,12 @@ cc_library(
":LinalgNamedStructuredOpsYamlIncGen",
":LinalgOpsIncGen",
":LinalgRelayoutOpsIncGen",
- ":RelayoutOpInterfaceIncGen",
":LinalgStructuredOpsIncGen",
":MathDialect",
":MemRefDialect",
":MeshShardingInterface",
":Parser",
+ ":RelayoutOpInterfaceIncGen",
":SCFDialect",
":SideEffectInterfaces",
":SparseTensorDialect",