[clang] [Matrix][HLSL] Allow memory layout to change via flags (PR #181866)

Ashley Coleman via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 17 09:47:46 PST 2026


================
@@ -5,8 +5,8 @@
 // CHECK-LABEL: define hidden noundef <6 x i32> @_Z22elementwise_type_cast0u11matrix_typeILm3ELm2EfE(
 // CHECK-SAME: <6 x float> noundef nofpclass(nan inf) [[F32:%.*]]) #[[ATTR0:[0-9]+]] {
 // CHECK-NEXT:  [[ENTRY:.*:]]
-// CHECK-NEXT:    [[F32_ADDR:%.*]] = alloca [3 x <2 x float>], align 4
-// CHECK-NEXT:    [[I32:%.*]] = alloca [3 x <2 x i32>], align 4
+// CHECK-NEXT:    [[F32_ADDR:%.*]] = alloca [2 x <3 x float>], align 4
----------------
V-FEXrt wrote:

Just confirming, you are intentionally changing the default here?

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


More information about the cfe-commits mailing list