Skip to content

LLVM 16 Support #289

Open
Open
@frantisekz

Description

@frantisekz

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:

  • Ton of opencl-clang problems (worked around, created PRs upstream, got it building)
  • CCLANG_SONAME_VERSION check doesn't pass (hits <= 5.0.0 path) for opencl-clang built against llvm 16 - disabled that check to be able to progress
  • llvm:None was deprecated (advisory to use std::nullopt_t, seems like a drop-in? I can go ahead and create a PR for that)
  • error: cannot convert 'llvm::StringLiteral' to 'const char* const' in initialization (hit in IGC/Options/include/igc/Options/)
  • probably many more...

I hope @AGindinson wouldn't mind for a ping here? I remember you've worked on fresh LLVM support for past few releases.

Activity

AGindinson

AGindinson commented on Apr 20, 2023

@AGindinson

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.

frantisekz

frantisekz commented on Apr 20, 2023

@frantisekz
ContributorAuthor

Thanks for the info!

Please, ping here whenever there is something I can help test/provide feedback/etc.

Thanks a lot!

eero-t

eero-t commented on May 16, 2023

@eero-t

vc-intrinsics v0.13.0 (tagged today) has some LLVM 16 support fix: intel/vc-intrinsics@v0.12.3...v0.13.0

ConiKost

ConiKost commented on Aug 16, 2023

@ConiKost
Contributor

Does anyone know the current status about LLVM 16 support?

frantisekz

frantisekz commented on Aug 16, 2023

@frantisekz
ContributorAuthor

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
CCLANG_SONAME_VERSION check doesn't pass which got resolved opencl-clang side).

Use LLVM 14 (preferably) or 15.

AGindinson

AGindinson commented on Aug 18, 2023

@AGindinson

@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.

eero-t

eero-t commented on Aug 18, 2023

@eero-t

Could v16 be added to the LLVM status tracking page: https://github.com/intel/intel-graphics-compiler/projects/5 ?

ConiKost

ConiKost commented on Aug 19, 2023

@ConiKost
Contributor

@AGindinson thanks for the update!

AGindinson

AGindinson commented on Sep 13, 2023

@AGindinson

Could v16 be added to the LLVM status tracking page: https://github.com/intel/intel-graphics-compiler/projects/5 ?

@eero-t Done, thanks for the suggestion!

ConiKost

ConiKost commented on Dec 22, 2023

@ConiKost
Contributor

Any news on LLVM16 support?

tjaalton

tjaalton commented on Jan 25, 2024

@tjaalton

or llvm17 for that matter

pszymich

pszymich commented on Jan 25, 2024

@pszymich
Contributor

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.
LLVM updates after switching to 15 will require significant work on opaque pointers situation which is going to majorly affect the roadmap.

38 remaining items

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    LLVM 16 Support · Issue #289 · intel/intel-graphics-compiler