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

Add Support for Compiler Plugins #915

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
Draft

Conversation

ludgerpaehler
Copy link

This PR adds support for the loading of LLVM compiler plugins while following the LLVM design for pass loading. It allows for the pass manager to load libraries while maintaining a global list of loaded libraries. As far as I am aware, the pass loading does not work on Windows-devices. Add the following methods:

  • Adds AddPassbyArgs, GetPassRegistry, and ListRegisteredPasses to the pass manager interface.
  • Adds load_pass_plugin to the bindings while maintaining an internal list _loaded_libraries of the loaded libraries.

The PR builds on #429 .

@DrTodd13
Copy link

/AzurePipelines run

@azure-pipelines
Copy link
Contributor

Commenter does not have sufficient privileges for PR 915 in repo numba/llvmlite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants