<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/94961>94961</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[SPIR-V] Switch operands might depends on pointer allocation pattern
</td>
</tr>
<tr>
<th>Labels</th>
<td>
bug,
SPIR-V
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
Keenuts
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Keenuts
</td>
</tr>
</table>
<pre>
By adding https://github.com/llvm/llvm-project/pull/92531, I added a new potential source or test flakiness: seems like the order of the switch operands might depend on a SmallPtrSet, hence on memory allocation pattern.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkUGL5CwQhn-NuRTTaCXpjgcP38zQMHyXYRv2bmIlccdo0MoM_e-XhF72sizsSRSt1_d5bCl-ikRGtM8C8X-iuHERiKJ9rezGc8rmcVj1yd3N8x2scz5OMDOvRdT_CbwKvE6e560_DWkReA3h89fytOb0gwYWeF23EAReNba1EvgCb_skcmAh0hesiSmytwFK2vJAkDIwFYYx2A8fqexZUIiWAsF_EPC833GUIY3Hpnx5HmZIK2UbXYHFTzODo5WigxTBwm2xIbxzvhHvH5gp7jkRFlpSvoMNIQ2WfYqwWmbK8QSVM7XTtbYVGXVRnVSXi9LVbEbUbmybWnfWdihRK-X6bjwPWkotdVt5gxIbeVZSKdnV-qSp167t26EbsMdzIxpJi_XhtHM6pTxVvpSNjG70WVXB9hTKw0u_TbsTfBGIt_e3b0_fH4qyOSD321REI4MvXH6PY8_hMPt40r7C7S-Myo5iTT4y5T-wqLYczD9LPyqVXfvR6tPgzwAAAP__KD7Nlg">