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

    <tr>
        <th>Summary</th>
        <td>
            [Clang][AMDGPU] Compiler crash when generating alias to a global with LTO enabled
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang
      </td>
    </tr>

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

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

<pre>
    A trivial global alias will crash the compiler only when `-flto` is specified. See the reproducer at https://godbolt.org/z/9r9scEGq9.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxc0c9u3CAQBvCnwRcUCw_Gfw4cNtk6l1at1PYBwIxtolnjAt5V-vTVuhtV6onTx8z3G5OSn1dEzdQzU-fC7HkJUb8tu8XYFDa4d33iOfqrN8RnCtYQN-RN4jdPxMdo0sLzgnwMl80TRh5Weue3BVfOGvE0UQ6sEdwnnjYc_eTRlfw74hGKuMXg9hEjN5kvOW-JyRODgcEwB2cD5TLEmcHwm8HQxz6Nn15_9WXhtHS97E2BumprWYmua1SxaNNaUYuuczVKW7emEij62kHTVqOcOiy8BgFKSGhBqBpUOeEkVDdNvUNnZSVZLfBiPJVE18t9eOFT2lFXUsoKCjIWKR1cACOZdWYAd7mo74Enu8-J1YJ8yunfF9lnOoxfjoQ6M_V8-nJ-_faTqTN_-aD7q3nYzbhiNNmv84M7B24-DnDzeeGff3zluBpL6Io9kv5Pz-dlt-UYLgyG-x6P52mL4Q3HzGA4eiUGw6PaVcOfAAAA__-zsao7">