<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/110433>110433</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[AMDGPU] Assertion hit in `infer-address-spaces` on vector of pointers
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:AMDGPU
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
jhuber6
</td>
</tr>
</table>
<pre>
The following code hits an assertion, without assertions enabled it works fine https://godbolt.org/z/8nEzfPWEb.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxc0E-L2zAQBfBPI19Egj2yneigQ9qseyrsoaVn_RnZ2lWkoJETup--OKQs7EkgePN4P00U5oSo2PCNDedGr3XJRb0tq8EyNia7v-rXgtznGPM9pJnb7JAvoRLXiWsiLDXkxOA7v4e65LV-fhLHpE1Ex0Pl91zeifuQkC-1XomJE4OJwTRnZ3Ks-1xmBtMHg-mYXj78658Xs2-cEk4KqRtU3QEOoxg6IZtFGa2l9aIXB3-w3vTSD6PvrDfHXo9eQhMUtNC3EmR3FMdB7q2zRz0MIN0wdm2rWd_iRYe4j_F22cqbQLSi6rq2F6KJ2mCkBwuA0fYdk2PidPp5_vH6mwFsWEVt2Z1ZZ2J9GwNV-rxWQ40P1mdkOPPTf5jNj4fE2diG5LHstHMFiXZ01RaJjS3Pid_Q1lx49vyaQ6pYqFlLVF_0Ql1Ws7f5wmDayp_P7lryG9rKYHrsIgbTc9pNwb8AAAD__2CCo1w">