-
Notifications
You must be signed in to change notification settings - Fork 158
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
LLVM 16 Support #289
Comments
Hi @frantisekz, thanks for reporting this and listing out the initial issues! Although our current focus is on finalizing the LLVM 14 switch in terms of production quality, we've had an initial look into API compatibility with LLVM 16. Hopefully, we'll be able to make some real progress over the course of May. |
Thanks for the info! Please, ping here whenever there is something I can help test/provide feedback/etc. Thanks a lot! |
|
Does anyone know the current status about LLVM 16 support? |
Afaik, it's the same as what I'd reported when creating the ticket (minus Ton of opencl-clang problems and Use LLVM 14 (preferably) or 15. |
@ConiKost, now that LLVM 14 support has finally reached production quality (and stands as the recommended version, as noted by @frantisekz), we're slowly returning to pursue LLVM 16 compatibility. One of the key issues here is proper opaque pointers' support, which is being investigated in parallel. |
Could v16 be added to the LLVM status tracking page: https://github.com/intel/intel-graphics-compiler/projects/5 ? |
@AGindinson thanks for the update! |
@eero-t Done, thanks for the suggestion! |
Any news on LLVM16 support? |
or llvm17 for that matter |
Hi, let me shed some light and transparency on the current LLVM situation. Our aim is to start working on LLVM 15 support this quarter with production switch later this year. We are still working on LLVM 14 support for our Windows driver which is the main reason for lack of progress on the open-source side of things. |
Thanks for the update/confirmation @pszymich . For Fedora packaging (can't speak about RHEL), I'd switched the igc package to llvm15 which is going to work fine for Fedora for the foreseeable future (and it's still a far better situation compared to eg. intel cm-compiler which has the latest tagged release for llvm 8). Just (you're probably aware) llvm 16 should work with typed pointers too ( https://llvm.org/docs/OpaquePointers.html#version-support ) if that best effort support works for you and should you need a newer target. |
While this is an option - "best effort" is not necessarily something we would be comfortable with in production environment, especially when talking about the foundation of the compiler. |
FOSDEM presentation about LLVM in IGC gives info on that: https://fosdem.org/2024/schedule/event/fosdem-2024-2501-challenges-of-supporting-multiple-versions-of-llvm-in-intel-graphics-compiler/ |
I wonder what the status is right now, as that presentation was 4mo ago and the latest release has commit dbe9942 that says 'opaque pointers', but that (alone) doesn't fix the build with >=16.. |
note that llvm-14 (and i-g-c etc) have been removed from Debian testing, so it won't be in the next release. |
While at it, also LLVM version status tracking (https://github.com/intel/intel-graphics-compiler/projects/5) should be moved to new GH projects as GH is phasing out the legacy projects by August. |
I've just started a discussion in Fedora in order to stop distributing llvm 14, 15 and 16 in Rawhide and Fedora 41. |
Same applies for Gentoo. LLVM-14 already removed, LLVM-15 also waits for removing and only waits because of IGC. LLVM16 is planed also to be removed in future, since LLVM17 and LLVM18 is already in Gentoo tree. |
We are committed to bringing IGC to latest LLVM versions, and we are implementing a much more robust LLVM upgrade processes to accelerate new versions integration. Until new processes are in place, we are also working on LLVM 16 build compatibility in parallel. |
As mid-August approaches it is most likely we not going to meet the date. Current realistic estimate is mid-September. |
@pszymich Could you please share an update of the status? Thanks! |
We've pushed a number of changes addressing LLVM 16 compatibility which resolved around 90% of the raw complier errors. In the next two weeks we should manage to be fully compatible with LLVM 16 APIs. |
May I ask ticket owner to change subject to "Latest LLVM 19 Support"? |
Once compatible with LLVM 16, we will follow up with a separate ticket for LLVM 17. |
Just a note, in case any of the commenters here (or in the closed issue) are Fedora users wanting to get rid of llvm15 - expect at least half year up to year wait (till F43) as compute-runtime dropped support for pre-Xe architectures, I'll be halting rebases of both igc and compute-runtime to give users on older platforms some support window for their compute workloads. (Sorry for bit of tangent/off-topic here) |
@frantisekz I haven’t looked in depth, but it seems you can still build legacy platforms support with |
llvm-16 is slowly getting removed from Debian already, so I hope the jump to llvm-19 won't be as big as from 14 to 16.. |
@pszymich Any news? |
@pszymich Thanks for the update. Any ETA for VC? |
I understand this isn't a priority, but I'll at least try to create a sort of tracking issue/help where I can (not much tbh).
Distributions are already migrating to LLVM 16 (upcoming Fedora 38 to be released in a few days uses that), and it'll be great if there was planned igc support for that.
Currently hit issues:
I hope @AGindinson wouldn't mind for a ping here? I remember you've worked on fresh LLVM support for past few releases.
The text was updated successfully, but these errors were encountered: