[Mlir-commits] [mlir] [MLIR] Incorrect result for RuntimeVerifiableOpInterface on MemRef::R… (PR #96580)

Matthias Springer llvmlistbot at llvm.org
Tue Jun 25 00:08:53 PDT 2024


================
@@ -260,6 +260,10 @@ computeLinearIndex(OpFoldResult sourceOffset, ArrayRef<OpFoldResult> strides,
 std::pair<AffineExpr, SmallVector<OpFoldResult>>
 computeLinearIndex(OpFoldResult sourceOffset, ArrayRef<int64_t> strides,
                    ArrayRef<Value> indices);
+std::pair<AffineExpr, SmallVector<OpFoldResult>>
+computeInclusiveLinearIndex(OpFoldResult sourceOffset,
----------------
matthias-springer wrote:

Add comment to make clear what the difference between this one and `computeLinearIndex` is.

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


More information about the Mlir-commits mailing list