Skip to content
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

Is there anyway to parse .ll or .bc file into class <llvmlite.ir.Module>? #1117

Open
IWannaToBeHappy opened this issue Dec 26, 2024 · 1 comment
Labels
feature_request Feature Request

Comments

@IWannaToBeHappy
Copy link

I noticed that this requirement was mentioned in 2018 and 2021. I would like to know whether the current version of llvmlite supports parsing .ll files into IR modules.
It appears that llvmlite.binding cannot modify module members like ir.Builder can, so it does not meet my requirements.

@gmarkall
Copy link
Member

It's still not possible, and it would be a large effort to implement - for example, I note that the LLVM LLParser.cpp file is approximately 10,000 lines of handcrafted parser.

@gmarkall gmarkall added the feature_request Feature Request label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature_request Feature Request
Projects
None yet
Development

No branches or pull requests

2 participants