<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/116712>116712</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Enable elementwise matrix operations
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang:codegen,
HLSL
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
pow2clk
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
pow2clk
</td>
</tr>
</table>
<pre>
There are a list of elementwise builtins and operators that should permit matrices, but don't currently. This includes implicit type conversions to allow existing HLSL functionality where clang extension matrices currently require that the element types match perfectly. It also involves allowing various HLSL and otherwise `__builtin_elementwise*` calls to work with matrices.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUkk9vnDwQxj-NuYyyggH2z4FD3uRdtVJuzT0yZoKnMTa1x7vZb19BaNIeEBLSzPyeh59OiUdP1Kn2P4U4hysa96YQVftY6Cw2xG77WPRhuHXPliKBXh5wnATCK5CjibxcORH0mZ2wT6D9AGGmqCXEBGK1QLIhuwFmihMLTFoiG0oKH6DPAkPwCg8CJsdIXtxtB8-WE7A3Lg-UgKfZsWEBuc0EJvgLxcTBJ5AA2rlwBXrnJOxH-Pb04wleszfCwWvHcoPrSm6c9iPQu5BfZj8pvs5CpF-ZI30wi6U_-da7aZkwdgnxSmal_C6gXQrA_hLchdIHy0Jx0ZFDTh80ayFiKa49qX358rKV9fJXgQrv1b4Eo51bc11DfIMri_0k3UExdPVwqk-6oK461NXpgE11LGzX66HF3rSlrhpsT33bHvVJ014fy2Y4NMeCOyyxqarqiDXu2-OuRGzrqj1Ueigbakg1JU2a3c65y7QLcSw4pUxdVe0PFRZO9-TSJstaparvTRhoJL9Igw8KcUm7GRS7Zc9dn8ekmnLxJX1tFha3ircOtI_wv9e9o390WkO_byIt_7rI0XVWZE6qvld4VngeWWzudyZMCs_L9u11N8fwk4woPK8hksLzluPS4e8AAAD__5sVBQs">