Any way to convert ModuleRef to Module?
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 372
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 10
Description
I want to read in a `bitcode` or `llvmir` file, and convert the return value (ModuleRef) from `parse_bitcode` or `parse_assembly` to `Module`.
I checked the constructor of Module, there is no options to do this.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the parse_bitcode and parse_assembly entry points and comparing their ModuleRef return values with the Module constructor. Determine whether a supported conversion path is possible and define the expected behavior for reading bitcode or LLVM IR into Module. The issue is old and has no named files or tests, so further repository research is needed before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100