<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64015>64015</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
llvm.amdgcn.inverse.ballot should not be convergent
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:AMDGPU
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
nhaehnle
</td>
</tr>
</table>
<pre>
We missed this when we added the intrinsic. `llvm.amdgcn.inverse.ballot` is semantically really just `((arg >> lane_id) & 1) != 0`, so there is cross-lane communication.
cc @arsenm @jayfoad @OutOfCache @sameerds
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0UcFu3CAQ_ZrxBcXCYHvXBw7bbLanKr1UPVZjmLVJMUQMTpS_r3Aq9dQL84B5T0_vIbNfIpGB4QsM1wb3sqZs4oq0xkDNnNyH-Uli88zkRFk9i_eVongngc4dTyR8LNlH9rYVMMoQ3rYWN7fY2Pr4RpmpnTGEVGCUwrNg2jAWbzGED5HpGC87l0oGdQZ1xrwI0E-gn0TASL-8AzUJUKPoPkEH-irksf8oOFUXmaq2zYn5oZKETdu2R2-x-BRbkFeQl8_TWgG9xMwUt4pe8OOe0FX4vJfn-yPaleqNcSPKjkXjjHaTnrAh043naRr1pPpmNfqEd3uyWjvUONlpsg4np2alejfRPDbeKKm0PKmuO6tB9W3vhn7oh67r5H08nXvoJW3oQ3vklvLSeOadzNjLbmgCzhT4qEepGe1vig705fLt-vX7D1CqlpZNpT7M-8LQy-C58D-x4ksg8_9OBK9pD07EVMRcQ6u_C8XS7DmYtZRXBn0BdQN1W3xZ97m1aQN1q5J_x8NrTi9kC6jb4Z1B3Q77fwIAAP__MCPCWQ">