[Mlir-commits] [mlir] [mlir][vector] Add unroll patterns for vector.load and vector.store (PR #143420)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Tue Jun 10 10:49:15 PDT 2025
================
@@ -54,6 +54,33 @@ static SmallVector<Value> sliceTransferIndices(ArrayRef<int64_t> elementOffsets,
return slicedIndices;
}
+// compute the new indices for vector.load/store by adding offsets to
+// originalIndices.
+// It assumes m <= n (m = offsets.size(), n = originalIndices.size())
+// Last m of originalIndices will be updated.
----------------
banach-space wrote:
```suggestion
// Compute the new indices for vector.load/store by adding `offsets` to
// `originalIndices`.
// It assumes m <= n (m = offsets.size(), n = originalIndices.size())
// Last m of `originalIndices` will be updated.
```
https://github.com/llvm/llvm-project/pull/143420
More information about the Mlir-commits
mailing list