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

optionally enable Polly passes in llvmlite #1071

Open
dlee992 opened this issue Jul 23, 2024 · 1 comment
Open

optionally enable Polly passes in llvmlite #1071

dlee992 opened this issue Jul 23, 2024 · 1 comment
Labels
feature_request Feature Request

Comments

@dlee992
Copy link
Contributor

dlee992 commented Jul 23, 2024

I saw llvmlite is built with Polly:

_cmake_config+=(-DLINK_POLLY_INTO_TOOLS:BOOL=ON)

But the PassBuilder (or PassManager) in source code doesn't provide a way to optionally add Polly passes. Thus this is a feature request.

@kc611 kc611 added the feature_request Feature Request label Jul 25, 2024
@stuartarchibald
Copy link
Contributor

Thanks for the request. I recall attempting this at some time in the past and it was quite involved. I think once LLVM 18 is in use by llvmlite there's an API that will help with this (and loading in and using other passes too). It may however already be possible via some other means that has appeared since I last tried.

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

3 participants