[Mlir-commits] [mlir] [mlir][memref] Define interfaces for ops that access memrefs at an index (PR #177013)
Alan Li
llvmlistbot at llvm.org
Tue Jan 20 20:57:54 PST 2026
================
@@ -0,0 +1,26 @@
+//===- MemoryAccessOpInterfaces.h ---------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef MLIR_DIALECT_MEMREF_IR_MEMORYACCESSOPINTERFACES_H
+#define MLIR_DIALECT_MEMREF_IR_MEMORYACCESSOPINTERFACES_H
+
+#include "mlir/IR/BuiltinTypes.h"
+#include "mlir/IR/OpDefinition.h"
+#include "mlir/IR/Operation.h"
+#include "mlir/Support/LLVM.h"
+
+namespace mlir {
+class RewriterBase;
+} // namespace mlir
+//===----------------------------------------------------------------------===//
+// Memory Access Op Interfaces
+//===----------------------------------------------------------------------===//
+
+#include "mlir/Dialect/MemRef/IR/MemoryAccessOpInterfaces.h.inc"
+
+#endif // MLIR_DIALECT_MemREF_IR_MEMORYACCESSOPINTERFACES_H
----------------
lialan wrote:
```suggestion
#endif // MLIR_DIALECT_MEMREF_IR_MEMORYACCESSOPINTERFACES_H
```
https://github.com/llvm/llvm-project/pull/177013
More information about the Mlir-commits
mailing list