[llvm] [Matrix] Use data layout index type for lowering matrix intrinsics (PR #162646)

Jon Roelofs via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 10 09:22:55 PDT 2025


================
@@ -21114,7 +21114,8 @@ Overview:
 
 The '``llvm.matrix.column.major.store.*``' intrinsics store the ``<Rows> x
 <Cols>`` matrix in ``%In`` to memory using a stride of ``%Stride`` between
-columns. The offset is computed using ``%Stride``'s bitwidth. If
+columns.  Independent of ``%Stride``'s bitwidth, the offset is computed using
+the target daya layout's pointer index type.  If
 ``<IsVolatile>`` is true, the intrinsic is considered a
----------------
jroelofs wrote:

looks like the `<IsVolatile>` bit might fit on the previous line. mind trying to re-flow the rest of the comment? `Jgqq`, if you're a vim user.

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


More information about the llvm-commits mailing list