[clang] [Matrix] Add a row\col major toggle in the clang driver (PR #167628)

Nathan Corbyn via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 26 02:31:21 PST 2025


================
@@ -287,6 +287,10 @@ part of the draft specification.
 The elements of a  value of a matrix type are laid out in column-major order
 without padding.
 
+To change memory layout to row major use the `-fmatrix-default-layout` flag.
----------------
cofibrant wrote:

Should be `-fmatrix-memory-layout`

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


More information about the cfe-commits mailing list