-
Notifications
You must be signed in to change notification settings - Fork 229
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
Support LLVM 17 #448
Support LLVM 17 #448
Conversation
This includes the following LLVM-C API changes: * Core * Removed functions: * LLVMContextSetOpaquePointers * LLVMConstSelect * Transforms * PassRegistry and pass initialization removed, as they were the part of legacy Pass Manager. This results in complete removal of the following modules: * instcombine * ipo * pass_manager_builder * scalar * util * vectorize * Debug info * New language: * Mojo Fixes: TheDan64#444
Update the README 🙏 ? |
Any updates on this? |
@vadorovsky We can merge this once the test suite is fixed to work with other versions |
Is anything needed other than to add entries for 17-0 to test.yml to enable CI? I can help out if needed. |
I put out a PR that gets us over the edge. Was just an import typo: #460 |
Ah shoot, spoke too soon. All the tests and examples are broken on llvm 17. |
Whoops, sorry for lack of reaction! I will try to fix the tests later today. I will also add README changes. |
That'd be great! You can grab my commit here: Looks like some From conversions are broken: https://github.com/SUPERCILEX/inkwell/actions/runs/7471632843/job/20332249713 |
Fixes: #444
Description
Add
llvm17-0
feature with LLVM 17 support.This includes the following LLVM-C API changes:
Related Issue
#444
How This Has Been Tested
No additional tests apart from the existing ones.
Option<Breaking Changes>
PassManagerBuilder
for LLVM 17, as it was removedPassManager
methods, as the corresponding functions were removed.Checklist