[Mlir-commits] [mlir] [mlir] Add strided metadata range dataflow analysis (PR #161280)
Matthias Springer
llvmlistbot at llvm.org
Thu Oct 2 01:15:01 PDT 2025
================
@@ -0,0 +1,43 @@
+//===- InferStridedMetadataInterface.td - Strided MD Inference ----------*-===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+//
+// Defines the interface for strided metadata range analysis
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef MLIR_INTERFACES_INFERSTRIDEDMETADATAINTERFACE
+#define MLIR_INTERFACES_INFERSTRIDEDMETADATAINTERFACE
+
+include "mlir/IR/OpBase.td"
+
+def InferStridedMetadataOpInterface :
----------------
matthias-springer wrote:
Do you anticipate this interface being implemented on any ops outside of the memref dialect? If not, this interface+analysis may be better suited for `mlir/Dialect/MemRef/IR` instead of `mlir/Interfaces`+`mlir/Analaysis`.
https://github.com/llvm/llvm-project/pull/161280
More information about the Mlir-commits
mailing list