[clang] [Matrix][HLSL] Add codgen support for Matrix Layout keywords (PR #198887)
Justin Bogner via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 2 13:48:19 PDT 2026
================
@@ -0,0 +1,227 @@
+// RUN: %clang_cc1 -std=hlsl202x -finclude-default-header -x hlsl -triple \
+// RUN: dxil-pc-shadermodel6.3-library %s -emit-llvm -disable-llvm-passes \
+// RUN: -fmatrix-memory-layout=column-major -o - | FileCheck %s
+// RUN: %clang_cc1 -std=hlsl202x -finclude-default-header -x hlsl -triple \
+// RUN: dxil-pc-shadermodel6.3-library %s -emit-llvm -disable-llvm-passes \
+// RUN: -fmatrix-memory-layout=row-major -o - | FileCheck %s
----------------
bogner wrote:
I realize this matches a lot of existing practice in this directory, but less so across the whole LLVM repository. IMO splitting run lines like this does more harm than good, and just having lines longer than 80 col is fine here (so it's easy to copy-paste for example)
https://github.com/llvm/llvm-project/pull/198887
More information about the cfe-commits
mailing list