Skip to content

Commit 2d12c9e

Browse files
committed
[bazel] add missing header for RelayoutOptInterface
for a778930
1 parent ec9c293 commit 2d12c9e

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

mlir/include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
#ifndef MLIR_DIALECT_RELAYOUTOPINTERFACE_H_
1414
#define MLIR_DIALECT_RELAYOUTOPINTERFACE_H_
1515

16+
#include "mlir/IR/OpDefinition.h"
17+
1618
#include "mlir/Dialect/Linalg/IR/RelayoutOpInterface.h.inc"
1719

1820
#endif // MLIR_DIALECT_RELAYOUTOPINTERFACE_H_

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ td_library(
375375
srcs = ["include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.td"],
376376
includes = ["include"],
377377
deps = [
378-
":DestinationStyleOpInterfaceTdFiles"
378+
":DestinationStyleOpInterfaceTdFiles",
379379
],
380380
)
381381

@@ -401,7 +401,10 @@ gentbl_cc_library(
401401
cc_library(
402402
name = "RelayoutOpInterface",
403403
hdrs = ["include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.h"],
404-
deps = [":RelayoutOpInterfaceIncGen"],
404+
deps = [
405+
":IR",
406+
":RelayoutOpInterfaceIncGen",
407+
],
405408
)
406409

407410
cc_library(
@@ -11185,10 +11188,10 @@ td_library(
1118511188
":InferTypeOpInterfaceTdFiles",
1118611189
":LoopLikeInterfaceTdFiles",
1118711190
":OpBaseTdFiles",
11191+
":RelayoutOpInterfaceIncGen",
1118811192
":SideEffectInterfacesTdFiles",
1118911193
":TilingInterfaceTdFiles",
1119011194
":ViewLikeInterfaceTdFiles",
11191-
":RelayoutOpInterfaceIncGen",
1119211195
],
1119311196
)
1119411197

@@ -11641,12 +11644,12 @@ cc_library(
1164111644
":LinalgNamedStructuredOpsYamlIncGen",
1164211645
":LinalgOpsIncGen",
1164311646
":LinalgRelayoutOpsIncGen",
11644-
":RelayoutOpInterfaceIncGen",
1164511647
":LinalgStructuredOpsIncGen",
1164611648
":MathDialect",
1164711649
":MemRefDialect",
1164811650
":MeshShardingInterface",
1164911651
":Parser",
11652+
":RelayoutOpInterfaceIncGen",
1165011653
":SCFDialect",
1165111654
":SideEffectInterfaces",
1165211655
":SparseTensorDialect",

0 commit comments

Comments
 (0)