<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/80176>80176</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Codegen support for `WaveActiveCountBits`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:DirectX,
HLSL
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
llvm-beanz
</td>
</tr>
</table>
<pre>
### Description
A stub function and builtin declaration have been added for `WaveActiveCountBits` to enable building out availability attribute support. The CodeGen is not complete, so we need to fill that support out.
### Acceptance Criteria
Completed lowering of `WaveActiveCountBits` to DirectX-backend intrinsics, and lowering from DirectX intrinsics to DXIL operations.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8Uk1v2zAM_TXyhaghyx9JDj64CbIN6G0D1qs-GJubIhkSnaL79YPdtNupAAFBBPn4Hvl0zjQGxF60j6I9FXrhKabe-9v1waAOfwoT3WsvVP0WcMJsE81MMQg5DJB5MXBZgl0zoIMDs5BnCuDQep30lp_0DcEgBtDOoYNLTCA6-VPfcLBMNzzGJfAjcRadBI6AQRuPG5ajMEJcGPRNk9eGPPEraOZEZmGEvMxzTFzCjwnhGB1-wQCUIUQGG6-zR0ahjpAjvCAERLcOuJD3wJPm9_51RCnksMaH2sFanFkHi3BMxJhICzkc76gOfHzBtPG7fK7nRAktPz8YbX9jcECBE4VMNq_U1rV9QF1SvL7X_1e3oTx_e4I449tWc1m4vnaH-qAL7Kud7Haq23X7YuqNbZq60U3b7FXVXOpadYe22beurtrKVPuCeiVVI6u6qvZNJ3flDpvOKYdd3cqDNU40Eq-afLlaoYxpLCjnBfu9rHZd4bVBnzfTKHXXJOrhzlooJdRRKPX16fvT-mlPxbunljGLRnrKnP9BM7HfLLg1tKftjCOGj9t86pdiSb6fmOcs6kGos1DnkXhaTGnjVajzOub-PMwp_kLLQp03OVmo86bobwAAAP__y88BrA">