numba / numba/llvmlite

Investigate new LLVM pass manager API

Open
#5 1 comment 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

Currently, we go through the LLVM C API which instantiates "legacy" pass managers, e.g.
http://llvm.org/docs/doxygen/html/classllvm_1_1legacy_1_1FunctionPassManager.html

We may want to invoke a C++ API directly instead, in order to get new pass managers, as in
http://llvm.org/docs/doxygen/html/classllvm_1_1FunctionPassManager.html

The changes seem to be covered in:
- https://groups.google.com/forum/#!topic/llvm-dev/_4oXsK-hI5E
- http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-July/051638.html

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the current use of the LLVM C API and the legacy::FunctionPassManager, then compare it with the LLVM FunctionPassManager C++ API and the linked LLVM discussions. Done means determining whether direct C++ access is feasible and producing a scoped implementation plan.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, 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.