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

    <tr>
        <th>Summary</th>
        <td>
            [DirectX] Replace loads from cbufs with cbufferLoad
        </td>
    </tr>

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

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

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

<pre>
    In order to generate correct dxil for cbuffers, we'll need to walk through the hlsl.cbufs metadata and replace memory accesses to those globals with accesses via cbufferLoad.

See https://reviews.llvm.org/D131370 for one approach to this.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUkUGP2yAQhX8NvozWwkMcxwcf0kaWKvXUXnodYGLoYhMBTrr_vrJ3t9s9cUCPx_s-ytlPC_Mg2i-ivVS0FhfToOO0cKp0tC_DtwVispygRJh44USFwcSU2BSwf3yAa0xg9Hq9csoCv8KDBXYhwMJst9SDwjMUl-I6OSiOwYUc6i2RYeZClgoBLRYS3wIZhpnnmF6AjOGcOW9vFBczwxSippDh4Yv7uL57eu__HsnWQp6FPP9kBlfKLQt1FjgKHBPfPT9yHcJ9rmOaBI6XRjWqk_uEuDDQ7ZYiGfda6XNd2UHZXvVU8dB0EvumP3XHyg1MvT1Kkm3HKJFUf0SyWuuTxg5ZU-UHlKgabE5N13Ttse7Voadr00qtsDF8EAfJM_nw7z-Vz3nloWtPSlaBNIe8e0HUZJ55sUKdL37j_ksgbrrSsGWf9DplcZDB5_Kxriq-hF3se6a9wI83wiGSzXBNcYZXDzvR_yBWawrDZ3yTL27VtYmzwHFreTuebin-ZlMEjvuALHDcN_wNAAD__y5EyWw">