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

    <tr>
        <th>Summary</th>
        <td>
            [HLSL] Add missing address spaces
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            HLSL
      </td>
    </tr>

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

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

<pre>
    HLSL currently doesn't have address space definitions for device (1), constant(2), or node(5). We should add those address spaces to the LangAS enum and address space maps.

We should also update the subscript operator constructions in the HLSLExternalSemaSource to apply the appropriate address space to the return types.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckjGPnDwQhn-NaUaHYDAHFBT7fZdViuu2SG3wAI6MbXnsVTa_PoLbKMlVlqzx42fmHcVsVkc0ivY_0b4VKqfNx9Ha-_4ykXI_i8nrx_j1_fYOc46RXLIP0J7YCewSbOpOoLSOxAwc1EygaTHOJOMdw-IjaLqbmUBgXwscBP4Ps3eclEsCe3xe-QjOaxLYtwKHEr4R8Oaz1Qcc0ub50zcMyUPaCN6VWy83IJd3UE5_ktlV4FJUF1Fd_kJa9pCDVolOBOeJ52hCAh8oquTjh2LM80cbxp11xxS-_EgUnbI32tXN5zjTIaJCsI-zRoUQfYjmYP-r8vSNlHJ0kB6BuCz02OihGVRBY91hh3Uve1lso5Zz3VV6amWjqrpuF02q65ZqafqlVu1QmBErlNWAErGVUpbYT71e2oawfe1q-SpkRbsytjyyLH1cC8Ocaayroe-6wqqJLJ-xIx6NCcRjAX5nn1cWsrKGE_8hJJPsuSrng_YNLlrDbpiNWz_FU-Roxy2lwKK5CLwKvK4mbXkqZ78LvB7M5_ESov9OcxJ4PRVZ4PVpeR_xVwAAAP__AnzgMA">