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

    <tr>
        <th>Summary</th>
        <td>
            [DirectX] Introduce llvm.dx.bufferGetDimensions and lower it to getDimensions dxil ops
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    We need LLVM intrinsic for bufferGetDimensions which will be lowered to the op.dx.getDimensions dxil operations. These will be used on structured buffers.

https://godbolt.org/z/bz7zxsf5n


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxskc-O2ywUxZ8Gb67Gsm-MYy9YzKfInypNd1XbrYHrmJZABJdJmqevnIz6T7MBITjnHs5vztkdA5ES8j8hD9VceI1JrfQ98lzpaH-oLwSByMLLy-eP4AInF7IzsMQEuiwLpf-JD-5EIbsYMlxWZ1a4OO9BE_h4oUQWOAKvBPFc22t9_Etgr85DPFOaeTvX8GmlTL8cSiYLMUDmVAyXzewxNteiOYjm-bGuzOcsds8CJ4HTMVodPdcxHQVON4GTvu1v17zI8Keosmpnx904V6TaPY44dOMwVqsa5dCMGge5o10vzUx60XvUsl_asTOoK6ewwa5t2gEb2eNY9y0Oxix928uOpGxF19Bpdr72_vW05ahczoVU2-I4YOVnTT7fW0cMdIH7rUDcICS1iZ50OWbRNd5lzr9t2LG_4zq4RIa_CnmAD4FTtMUQ3J_Za_0emTnYBw9wvAF5F0OuSvLqnzYdr0XXJp4ETtuEt-3pnOI3MixwusfPAqe3_70q_BkAAP__Y9_HLQ">