<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/166410>166410</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] add new -Zpr, -Zpc compiler flags and make them change default matrix init behavior
</td>
</tr>
<tr>
<th>Labels</th>
<td>
HLSL
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
farzonl
</td>
</tr>
</table>
<pre>
/Zpr will inform the compiler that matrices will be packed in row-major order while
/Zpc will just be the default column major order.
Need to consider if this should also impact how we index via `MatrixSubscriptExpr`.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxMkT1v2zAQhn8NtRwsUJQlx4OGtKnRIe2SLduJpMRz-CGQlOX21xdUArjTLfe8uHsfTIlmr_XAum-se6lwzSbEYcL4N3hbjUH9GZi4vC8RNrIWyE8hOshGgwxuIasjZIMZHOZIUqfPtVHDgvJDKyAPMWwHh9cQIUSlI2yGrAbGn_dg-Ulc15QLVpKVnnC1GWSwq_PwH1sXij__1lpBDiCDT1QiaYJsKEEyYbUK0KYA5BaUGUzYYNNAXuk73AiB9fxXOfb-to5JRlryj_sSWc_rSg2tOrdnrPTQnHohnrhoeGUG0Z17NUl5mpRueX8UjZp6JZsWheQjbyoaBBdd0_Bj89T0Ha87oU6THNtunPB85hM7cu2QbG3tzdUhzhWltOqh6ftjwyuLo7ZplyDEz9e3VyZE0RGHsn8Y1zmxI7eUcnokZMp2F7cD3QugUuD1Bof3JTLxvUz50DRZnBOgV-DwYy_agTTo50fhu8Q7kKfiwuCNQqzWaAeT85JYW4wxcZkpm3WsZXBMXMo5X-OwxHDVMjNx2b9LTFy-HrwN4l8AAAD__7QizdY">