-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MLIR] Feature request: translate from LLVM Dialect to LLVMIR using the C API #73008
Comments
Feel free to submit a patch if you need the feature. It's unlikely that it'll happen until someone needs it. MLIR is driven by the needs of the contributors mainly: https://mlir.llvm.org/getting_started/Faq/#why-is-small-feature-not-available-in-mlir |
@llvm/issue-subscribers-good-first-issue Author: Edgar (edg-l)
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? |
I'll try to do it then! |
The patch was reverted fea023b |
The patch was re-landed with leak fix 7fb89bf |
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?
The text was updated successfully, but these errors were encountered: