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

    <tr>
        <th>Summary</th>
        <td>
            AMDGPUAnnotateKernelFeatures should be deleted
        </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>
    This infers the "amdgpu-calls" and "amdgpu-stack-objects" attributes, which are poorly named and handled backwards. We only use these to try to infer whether we need to initialize flat scratch. Instead, we should use AMDGPUAttributor and infer a amdgpu-no-flat-scratch-init on kernels. We really want to detect whether any private addresses have their addresses could potentially be addrspacecasted to flat.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxMks-O2zgMxp9GvhA2MvKfOAcfsjvIYlEU6KFFz5TEROookiHRE7hPX8hO27mIgAh-_H0kMWd3C0ST6P8R_WuFC9uYJkyZwr1S0azTV-syuHCllIEtgZAS7-Y2L7VG77OQEjCYD9-ZUb_VUf0gzXuaOTm1MGUh_4WHddoCJoI5xuRXCHgns2lYDMaTAYX67YHJ5Aa-E8TgV1gyle7ljcBpLWGDgocltiUSBCKzJxw79O4nwdUjQ9YJWdsG_g-ZCc2GQZBtXLzZpM-fX__78u38BI1pw9n1EZ6-QqyLWv1Uq0sXiAHeKAXyO2si9H6FBwYuIIaYNP9BxLDCnNw7MgEakyhnymDxffPm0odPvaHNkSkUK34FtdfkGTVpzLxbLURNZabWnNoTVjS9DOPxdOyHY1vZaUDTnYbrySg8XLU54aCol6p_6TqUXS8rN8mDbA-DHF_Gw7GXTa-OqLt-NOP1OioaRXegOzrfeP9-b2K6VS7nhaah7ceh8qjI5-14pCxbo2BEe96nKaQsJ5WmUlqr5ZZFd_Auc_4rxo49Tc_phxAZmT5t87wQ8pIo_96SIjDkiclUS_KTZZ6zaM9CXoS83BzbRTU63oW8FPFnqOcUyxkKedmws5CXjfxXAAAA___vtQXS">