================
@@ -251,6 +251,19 @@ class MatrixBuilder {
     Value *NumRowsV = B.getIntN(MaxWidth, NumRows);
     return B.CreateAdd(B.CreateMul(ColumnIdx, NumRowsV), RowIdx);
   }
+
+  /// Compute the index to access the element at (\p RowIdx, \p ColumnIdx) from
+  /// a matrix with \p NumRows embedded in a vector.
----------------
farzonl wrote:

```suggestion
 /// a matrix with \p NumCols embedded in a vector.
```

https://github.com/llvm/llvm-project/pull/165666
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to