[clang] [Matrix] Add a row\col major toggle in the clang driver (PR #167628)
Florian Hahn via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 21 06:14:34 PST 2025
================
@@ -0,0 +1,35 @@
+// RUN: %clang --target=x86_64-linux-gnu -fenable-matrix -fmatrix-memory-layout=column-major %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-COL-MAJOR
+// CHECK-COL-MAJOR: -fenable-matrix
+// CHECK-COL-MAJOR: -mllvm
+// CHECK-COL-MAJOR: -enable-matrix
+// CHECK-COL-MAJOR: -fmatrix-memory-layout=column-major
----------------
fhahn wrote:
Should this check for the LLVM option? `-mllvm matrix-default-layout=...`
https://github.com/llvm/llvm-project/pull/167628
More information about the cfe-commits
mailing list