[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,54 @@
+//===- StridedMetadataRange.h - Strided metadata range analysis -*- 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_ANALYSIS_DATAFLOW_STRIDEDMETADATARANGE_H
+#define MLIR_ANALYSIS_DATAFLOW_STRIDEDMETADATARANGE_H
+
+#include "mlir/Analysis/DataFlow/SparseAnalysis.h"
+#include "mlir/Interfaces/InferStridedMetadataInterface.h"
+
+namespace mlir {
+namespace dataflow {
+
+/// This lattice element represents the strided metadata of an SSA value.
----------------
matthias-springer wrote:

Does this apply only to memrefs? If so, I would mention it here.

https://github.com/llvm/llvm-project/pull/161280


More information about the Mlir-commits mailing list