Skip to content

Commit 2a7edd1

Browse files
committed
[Matrix] Modify language reference to reflect change in semantics
1 parent fbc11e1 commit 2a7edd1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

llvm/docs/LangRef.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21074,12 +21074,12 @@ Overview:
2107421074

2107521075
The '``llvm.matrix.column.major.load.*``' intrinsics load a ``<Rows> x <Cols>``
2107621076
matrix using a stride of ``%Stride`` to compute the start address of the
21077-
different columns. The offset is computed using ``%Stride``'s bitwidth. This
21078-
allows for convenient loading of sub matrixes. If ``<IsVolatile>`` is true, the
21079-
intrinsic is considered a :ref:`volatile memory access <volatile>`. The result
21080-
matrix is returned in the result vector. If the ``%Ptr`` argument is known to
21081-
be aligned to some boundary, this can be specified as an attribute on the
21082-
argument.
21077+
different columns. This allows for convenient loading of sub matrixes.
21078+
Independent of ``%Stride``'s bitwidth, the offset is computed using the target
21079+
daya layout's pointer index type. If ``<IsVolatile>`` is true, the intrinsic is
21080+
considered a :ref:`volatile memory access <volatile>`. The result matrix is
21081+
returned in the result vector. If the ``%Ptr`` argument is known to be aligned
21082+
to some boundary, this can be specified as an attribute on the argument.
2108321083

2108421084
Arguments:
2108521085
""""""""""
@@ -21114,9 +21114,9 @@ Overview:
2111421114

2111521115
The '``llvm.matrix.column.major.store.*``' intrinsics store the ``<Rows> x
2111621116
<Cols>`` matrix in ``%In`` to memory using a stride of ``%Stride`` between
21117-
columns. The offset is computed using ``%Stride``'s bitwidth. If
21118-
``<IsVolatile>`` is true, the intrinsic is considered a
21119-
:ref:`volatile memory access <volatile>`.
21117+
columns. Independent of ``%Stride``'s bitwidth, the offset is computed using
21118+
the target daya layout's pointer index type. If ``<IsVolatile>`` is true, the
21119+
intrinsic is considered a :ref:`volatile memory access <volatile>`.
2112021120

2112121121
If the ``%Ptr`` argument is known to be aligned to some boundary, this can be
2112221122
specified as an attribute on the argument.

0 commit comments

Comments
 (0)