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

    <tr>
        <th>Summary</th>
        <td>
            [HLSL][SPIR-V] Implement `groupshared` lowering
        </td>
    </tr>

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

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

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

<pre>
    Clang seems to understand the `groupshared` HLSL storage class, but the emitted variable is in the `Function` SPIR-V storage class intead of `Workgroup`

</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxskcFu3CAQhp9mfEG7whhY74FDkpXVqDlUjdSesZnYtBhWMGzUt6_WdVVVygkJhu_n_7Cl-DkiGlCPIMRnxFipgBCgLo2ttKRs9s1mTO6XeQo2zqwgroVRYjU6zIVsdIwWZKD5nFO9lsVmdKA5-_Ty-sIKpWxnZFOwpYB4YmOlbR5XT4SO3Wz2dgzIfGE-_kUNNU7kU7xzXr88fz18-5_EfCS0jqW3-_T3lH9u4aA58IfGmc6du7Nt0LQneeZKilY3izlZPSntUDnVT26S_dnpth3Psn9D2eu-8UZwobjmstWi6_SxnaRCjSfZoXBCS5AcV-vDMYTbekx5bnwpFU0rRc91E-yIoexGI76z7XR3ms390mGscwHJgy9U_mHIU9i-4m4N1AXU45_eoC7seb0GXDHSB5ZDesfs49zUHMxCdC3QPYAYQAyzp6WOxymtIIZ70r4crjn9wIlADNv7CohhL3Az4ncAAAD__5dUq3o">