numba / numba/llvmlite

Split the code dealing with IR and not touching native llvm into a separate package not depending on native llvm.

Open
#718 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
2.3k
Forks
372
Avg merge
3d 2h
Merged PRs (30d)
10

Description

>The llvmlite.ir module contains classes and utilities to build the LLVM intermediate representation (IR) of native functions.

>The provided APIs may sometimes look like LLVM’s C++ APIs, but they never call into LLVM, unless otherwise noted. Instead, they construct a pure Python representation of the IR.

Sounds like it can be possible.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the llvmlite.ir module and separating the classes and utilities that construct pure Python LLVM IR from code that depends on native LLVM. Define the package boundary and verify that the IR functionality works without the native LLVM dependency; the issue does not name specific tests or files beyond this module.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
compilers
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.