<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/136125>136125</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[LLVMIR] Add support for captures attribute
</td>
</tr>
<tr>
<th>Labels</th>
<td>
mlir:llvm
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
nikic
</td>
</tr>
</table>
<pre>
LLVM IR has replaced the `nocapture` attribute with the `captures` attribute. The LLVMIR MLIR dialect currently still uses `nocapture`. It would probably make sense to migrate it to `captures` as well.
https://discourse.llvm.org/t/rfc-improvements-to-capture-tracking/81420
https://llvm.org/docs/LangRef.html (search for "captures(...)").
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxkkkGPmzAQhX-NuYywwECAA4dUUaRI2UtU9W7sAdwYjOxxovz7ijS7292erJGenr9582QIZlwQO1b9YNUhkZEm57vFXI1Keqcf3fn86w1OF5hkAI-rlQo10ITAdtnilFwpemS7DCSRN30khLuh6V3yEoQvCg4_J4TN-XSBt_PpAtpIi4pARe9xIfuAQMZaiAHD9584nAjuLloNq3e97O0DZnlFCLgEBHIwm9FLQjC0Td8pAtzRWs6yPcv2E9EaWLFn4sjEUZugXPQBubW3mTs_MnEkJo5-UKmZV-9uOONCISWXvkxT8lJdzbJJm7wU2X-u_3hppwITx7NcxgsOfKLZAhNNQOnVBIPzwIT4oBUN55yJlgnBRMsT3RW6LVqZYJfXZdk0u7atk6lDxKEYdIl5i6opBKpaNXU_IDZ1ibJOTCcyUWVlXudZ2VY1L3ZY6kJWQymyViGyMsNZGvuxd2JCiNjlxS4XVWJljzY8SyLEbI1nxX5TbmDVIfHdNqR9HAMrM2sChU8jMmSf_fp7b1YdYK81hLiuztNz5_eFPxuSRG-7rymOhqbYc-XmV6SvJ129-41qu9KTecv3hX3rxJ8AAAD__xvK8JI">