@@ -1652,9 +1652,10 @@ def Vector_LoadOp : Vector_Op<"load"> {
1652
1652
based on the element type of the memref. The shape of the result vector
1653
1653
type determines the shape of the slice read from the start memory address.
1654
1654
The elements along each dimension of the slice are strided by the memref
1655
- strides. Only unit strides are allowed along the most minor memref
1656
- dimension. These constraints guarantee that elements read along the first
1657
- dimension of the slice are contiguous in memory.
1655
+ strides. When loading more than 1 element, only unit strides are allowed
1656
+ along the most minor memref dimension. These constraints guarantee that
1657
+ elements read along the first dimension of the slice are contiguous in
1658
+ memory.
1658
1659
1659
1660
The memref element type can be a scalar or a vector type. If the memref
1660
1661
element type is a scalar, it should match the element type of the result
@@ -1736,9 +1737,10 @@ def Vector_StoreOp : Vector_Op<"store"> {
1736
1737
memref dimension based on the element type of the memref. The shape of the
1737
1738
vector value to store determines the shape of the slice written from the
1738
1739
start memory address. The elements along each dimension of the slice are
1739
- strided by the memref strides. Only unit strides are allowed along the most
1740
- minor memref dimension. These constraints guarantee that elements written
1741
- along the first dimension of the slice are contiguous in memory.
1740
+ strided by the memref strides. When storing more than 1 element, only unit
1741
+ strides are allowed along the most minor memref dimension. These constraints
1742
+ guarantee that elements written along the first dimension of the slice are
1743
+ contiguous in memory.
1742
1744
1743
1745
The memref element type can be a scalar or a vector type. If the memref
1744
1746
element type is a scalar, it should match the element type of the value
0 commit comments