<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/177635>177635</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Replace AMDGPUISD::FFBH_I32 with ISD::CTLS
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            backend:AMDGPU
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          arsenm
      </td>
    </tr>
</table>

<pre>
    I believe the corresponding instruction v_ffbh_i32 (now called v_cls_i32 on newer targets) is equivalent to the new generic ISD::CTLS operation. This operation should be made legal, and the existing infrastructure to manage the custom node deleted 
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxUkUGP2ywQhn8Nvow2soc4NgcO2V35-yK1UtXdniMMY5sWQwrYaf995STqqifESDPPM_OqlOzoiSSrn1n9WqglTyFKFRP5ueiD-S1P0JOztBLkiUCHGCldgjfWj2B9ynHR2QYP63kY-ulsOQLD1ocraOUcGVjP2qVbPXjwdKUIWcWRcmIowCagn4tdlSOfIYcbxdMVRvIUrYbT2yvjR8aPL--f3iBcKKqNt4P3yaaPP6QpLM5ATzArQ-BoVI7hCyhvbjPpl035Lj1EdfdeIm3IWXk1PvZbUg4z-GAIDDnKZKAwkhvBhSpIVs1BVAJ5I4pJIjVDW-41DTUe9KDaujnUZS2oHYQpVVtYiSUeygp51VaCi51oGqy43otyaFXLke1LmpV1O-fWeRfiWNiUlg3THHhdONWTS7dwEHulf5A3jB-Pn1__-_KNIW6RRbn1PvXLmNi-dDbl9DEt2-xIfqWLU5rg3vf3oF33_P_5xBGuNk__3rlYopNTzpe01bBj2I02T0u_02Fm2G2Ax_N0ieE76cywu7knht1Df5X4JwAA__9_0Mc3">