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

    <tr>
        <th>Summary</th>
        <td>
            [DirectX] DXIL Resources Analysis Pass
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          llvm-beanz
      </td>
    </tr>
</table>

<pre>
    Some of the metadata that gets encoded in the `dx.resources` named metadata is derived from how a resource is used. We should write an analysis pass that computes the DXIL resource annotations which can then feed into the metadata writing pass.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxVkM1q5TAMhZ8m2YgJiZ3fhRctl8JAF2Vm0W4VW0ncOvbFdnqn8_R1UjJlQGBkSUff0ejUh_jtVgI3QVwIVoqoMGJKMMJMMQBZ6RQp0PboyNpS_Sk8Bbd5SSGlYHFN9X-jOoAir9_T3-TdCou7AcI5sZe3QKqAZ4KwuM0ouHkdCdCmQPMRUscVQ_hikG69bpHCsfzy8vPxWwmtdRGjdjbAbdFyAYkHpIWJDuLo_ne1L9J2PuSLnETVtnyou77muRJcDXzAPOpoSGTN_UV7kvElay5fe3-dnuHuxHxKOvnmjVhivIaM32XsIcWs47KNRUJPiTHv5_Pj6t1r0kypDmFL12MPTTfwNl9EVbVV1fORxqacZFPzkrcdyr6fekTV8dzgSCbsYBljI8o3siptPCkZS6C5FqxkrBwYr5q6LnnBa0XUccUrVU-DHLK6pBW1KXaewvk59-JAG7c5pKLRIYbvYvKnZ0vHPXZ93OLizglC-zc_jIjDxSfmw8Zu">