[Mlir-commits] [mlir] 2d12c9e - [bazel] add missing header for RelayoutOptInterface

Mikhail Goncharov llvmlistbot at llvm.org
Wed Feb 26 02:08:08 PST 2025


Author: Mikhail Goncharov
Date: 2025-02-26T11:07:33+01:00
New Revision: 2d12c9e83f5ade9a2518ddfbed7ec438b2a5cb45

URL: https://github.com/llvm/llvm-project/commit/2d12c9e83f5ade9a2518ddfbed7ec438b2a5cb45
DIFF: https://github.com/llvm/llvm-project/commit/2d12c9e83f5ade9a2518ddfbed7ec438b2a5cb45.diff

LOG: [bazel] add missing header for RelayoutOptInterface

for a778930f85b6d17cf31ff0e15964a7c7116e2a9d

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.h
    utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.h b/mlir/include/mlir/Dialect/Linalg/IR/RelayoutOpInterface.h
index 5e3c625558508..bbf784063aa3f 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 3cbde42e0d9ec..269d41d7f7dbe 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",


        


More information about the Mlir-commits mailing list