<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/140577>140577</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[DirectX] The dx.isinf intrinsic is not being scalarized
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:DirectX
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
spall
</td>
</tr>
</table>
<pre>
using HLSL's "isinf" operation on a vector is resulting in an error: Cannot create IsInf operation: Invalid overload type from the backend. This is because the intrinsic isn't being scalarized and there is no vector DXIL op when we try to lower.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxckTGP2zwMhn-NvBBn2JIVIYOGfF8QNEC23nArLTGxWkUyRDlp-usLBzkc2kmD-JB8-SBzuCQiK_R_Qu8bXOqUi-UZY2zG7B924ZAu8O30_SSkYRBSBg7pLKSEPFPBGnKCnADhRq7mAoGhEC-xrlxIgAmolFyE2sH_mFKu4AphJTjyMZ2_uqwFx3TDGDzkG5WY0UN9zATnkq9QJ4IR3U9KvoX3KfA6aSSHC9PzM6RaQuLgIHAS0lQYad2BHUYs4Td5wOTX0kIrm_LnyvuP4wnyDPeJEtwJanlAzRDznUrbeKv8Vm2xIdubwWzMsNG6maxG7fGsxr53g-lwUJtNT34z4rbvxrPpmmBlJ3Wn-21v-k7rFqUhJ5VWqnNqO6AYOrpiiG2Mt2uby6UJzAvZfui0MU3EkSI_1Uj5ii7Ubh8KufohpFyNFbvCb-NyYTF0MXDlr3Y11Ph0-8noPbxPBP5X-7T4181gVfPvyZqlRDvVOrNQOyEPQh4uoU7L2Lp8FfKwjno9b3PJP8hVIQ_PGCzk4ZXkZuWfAAAA__98Gs2E">