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

    <tr>
        <th>Summary</th>
        <td>
            DXIL Writer support for re-materializing pointer types in instructions
        </td>
    </tr>

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

    <tr>
      <th>Assignees</th>
      <td>
            llvm-beanz
      </td>
    </tr>

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

<pre>
    The DXIL backend needs to use the pointer analysis to reconstruct typed pointers in the bitcode writer. This is currently broken up into two patches under review.

The first patch inserts no-op bit casts in the IR to allow the value enumerator to properly enumerate the instructions int he body - https://reviews.llvm.org/D122269.

The second patch modifies the bit writer to emit typed pointers based on the pointer analysis - https://reviews.llvm.org/D122270.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNU0uPmzAQ_jVwsYLAQCgHDltFlVbqqVqpezX2JLg1NrLHibK_vmMg21bbQyULmJe_h83o1H14mYCdXp-_slHIn2AVswAqMHQsBmBI1cVpi-CZsMLcg15rHqSzAX2UyPC-gHp0BabtOjVqlE4Bu3lN6YK9TDRJS0bvwaK5s9E7AmRxoRHaEm-OLQLlBIFFqwjQw1XDrcjKU1Y-bc_E9qx9wK2VJgN4DMy6g1sSJpMi4DuJ52-JrDDG3db4KkwEBjbO4AU6n6qLdwt44vNIb6r1Lk-TzkSQJU1kGDuwCXEJWf2U8S-0NpahMOY6F85fKHWqOOfH_gPzkFxTO_XZKX3WJHZ3a3cqUYJZf7B1FIFCZ_99JP9LqiuLXA216ute5KjRwLAe_vcNO8RlcR7Z2SX3DzOZ4bUw-k3byztoIrY6_KdFefRm-JvDReMUx0K6mYJEZH8dyPEfIJFCHUKEQB9tW5V9Pg2f6qrtqqZtKtWNXV-3cD423VhWdQNVR5yNGMGEIWs_Z5zvV5YQT5puJL5SLmtPuR54yXnZ8GPV1D2vi76SXatkDaT83Fc8a0qYhTbv_uR-WKmN8RKoaDRdot9FEYK-0H-xw26dIOzbjiciTu6xQ8rnq7BhVfULPX4psQ">