<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/82978>82978</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[MLIR] Feature request: Last opeartion accessor in blocks in C API
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
raviqqe
</td>
</tr>
</table>
<pre>
Currently, the C API exposes only the `mlirBlockGetFirstOperation` function which corresponds to the `block->front()` C++ API but not the `mlirBlockGetLastOperation` function which corresponds to `block->back()`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkU-P2yAQxT_N-IISYfA_DhySbF2ttFWrfgOMxzFdYhwYts23r2x12x566YkR4vF7855JyV0XRA31GeqnwmSaQ9TRvLn7HYshjA99yTHiQv4B4sJoRnZhpy_PDH-sIWFiYfGP_RoafvMunn2wrx-RehcTfV4xGnJhgYazKS92m9n32dmZ2RAjpjUsY2IU3r8YNvkB5IcphoVAdCDUJr6AOIM47-ghE1sC_Yv6Yv4L-jdwMPb1N-9YjFqOSipToC5b3qmqVF1dzFpWUk1tO5WVrZVBocoGjezqinM12GYsnBZcVFyIpuS8EfVRylaI2owTNgPyBqHieDPOH71_ux1DvBYupYy6E6rtCm8G9Om9kKi3R4chXxNU3LtE6Y-MHPm9uk8vz1-hfmI9GsoRWcR7xkQgT2wLhIUVTdxTMNZiSiEyt7B987RNe6NFjl7PRGsCeQLRg-ivjuY8HG24geg37K_jsMbwDS2B6HfrCUS_u_8ZAAD__1bIwCE">