<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/59113>59113</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[AArch64] Instruction Selection for Atomics
</td>
</tr>
<tr>
<th>Labels</th>
<td>
globalisel
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
tschuett
</td>
</tr>
</table>
<pre>
https://github.com/llvm/llvm-project/blob/420d02bb55d9deb0bf19c5c4deaf838380b51a06/llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp#L2845
This is more question than issue.
* loads use RCPC if available. stores do not? stores are always sequential consistent.
* does the immediate form of FEAT_LRCPC2 help?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVUsuO3CAQ_Br7gmLxMB774IN3NxOttIcomXvEo20TYeMA3mj_Pu1ZjWauES3obqCqVKCD_ejnnLdUiKHgZ4zJ5XnXlQkLFt6_35YvWwy_wWQstQ8al5pTS7nWUtrOgqZ6ZJ2RpragxlbgoFoyRZsHHHfcu6g4wYEzDNHMTY3Zt9ef4O-d1zXluJvswop9JA2xMttWcPHG21oW9KWgw-d8mV0iGEuIQP7skI5LJM9qxW7aoXo8XPCB-KBsInsC8uP5-zNxI1HvynmlPVQkIRMkYgNZQy7E-dZQCK78X_WRSAJkWbNTnpiwJpcyVtUd3wY8n2cgblnAOpWBjCEuJIzk_HW4_Ho7aDmZwW9IUELPmqajUtBOlrYXthOdKrPLHvpCPt0ski_kwRTy6cqRITYZclicSeUe_f8_5tWlhInsGBPl3FsjGjGemDgJy6E7GWjZaKgxuuYd53WJXoFPh7qC8wn_gvIuHc_HUWbpek45ZwzjJJmQFWNNe6q7kbVNV9esLWoKCzpeHUKqEKcy9ldNep8SbiJYTvdNlZKbVri6ceCrPc8h9jmZeYecy6v-_ir-H8yt5OU">