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

    <tr>
        <th>Summary</th>
        <td>
            [InferAddressSpaces] Fix mishandling stores of pointers to themselves
        </td>
    </tr>

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

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

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

<pre>
    The infer address spaces pass incorrectly generates code when the pointer it transforms has a reference to itself.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxE0MtunTAQBuCnMZtRjszAubDwIlWE1HX7AgMeY0fGRh5z0rx9BU2V1SxGc_k_EglLYjbq-kNd3xraq8_FvPt94nJrpmw_zW_PEJLjAmRtYRGQjWYW2EgEQppzKTzX-AkLJy5UWWDOluHDc4LqGbYcUuUCoUItlMTlsgp4EiAo7LhwmhlqhlCFo7s01nR26AZq2LR3xPv92vbYeNPxbeoGJN0PHd76W9-S08xkhxatY90Egxp7_dB9i92g8UJOt627W03kkIZe9ZpXCvES43O95LI0QWRn0-r28bg1kSaOcmogJv6As6sQD5xijqGXaV9E9ToGqfK9poYaT8afB9XrP6lfJ5S6vsEY_sAaxFOyMaQFpObCAtn9x5Ejf_W8CscnS7OXaHytm6juVeGocFxC9ft0mfOqcDzufpWXreR3nqvC8fxWFI5fcZ4G_wYAAP__MsGhOA">