<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/73008>73008</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[MLIR] [LLVMIR] Can't translate from MLIR to LLVMIR using the C API
</td>
</tr>
<tr>
<th>Labels</th>
<td>
mlir
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
edg-l
</td>
</tr>
</table>
<pre>
I tried to search for a method to convert programatically using the C API MLIR code to LLVMIR and my conclusion is, you can't, because its missing the method `mlir::translateModuleToLLVMIR` (https://mlir.llvm.org/doxygen/classmlir_1_1LLVM_1_1ModuleTranslation.html#ac7e657a04e78a09ffd38c2f6cde6b905)
Are there plans to add this funcionality to the C API?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcUk2L4zAM_TXORUzxRz4POXSmBApTWIZlr4NjK4kXxy62M2z__eK0dNi9RMSSnqT3nozRzA6xJ9UrqU6F3NLiQ496frHF6PWtP0MKBjUkDxFlUAtMPoCEFdPi92fl3ReGBNfg5yBXmYyS1t5gi8bNkBaENzj-OMPl_fwBymvMTe_vvy7nD5BOw3rLEMpu0XgHJhL-Bje_gZKO8Cbl3xGV3CKCSRFWE5_AjyVITVdrAhFHIo4pSBetTHjxerP4099HkZoC4e2S0jXmQj4QPuSug7Vf68GHmfBB-z-3GR3hg7Iyxpz-ZJ8sI-T4QHwMMN4dlrRawoVUDdZVI2mJTStpN01atIpPtdJYjx2tCO8IPRF6vH-PAfP-AeFqpYuZEKk1pMVEmDanjHfSmnTLiSeBRAyF7oXuRCcL7FlDadWWdVcWS8-4bFBzRSvGuKrEWKpRiKalteqwbbAwPadcMMYZq0XLyoPCpm5GVrYTazvGBCkprtLYJx2FiXHDvhGUtoWVI9q4u4TznWvOs19Cn8tfxm2OpKTWxBS_AZJJdndWVp5UJyDV60OM6gRvd3nhqRdMwa93l3wb5D8TFVuw_b8aziYt23hQfiV8yLMf4eUa_G9UifBhvyQSPuzH_A0AAP__Ds3ygw">