Skip to content

Support LLVM.jl 10 (11.5.16) - #801

Merged
maleadt merged 2 commits into
release-11from
tb/llvm10-11
Oct 3, 2026
Merged

maleadt merged 2 commits into
release-11from
tb/llvm10-11

Conversation

@maleadt

@maleadt maleadt commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

Allows LLVM.jl 10 next to 9 on the 11.x series, which all GPU back-ends depend on. GPUArrays only uses LLVM.Interop.assume, which didn't change. It's now imported explicitly, because LLVM.Interop exports more names in 10. The version is bumped to 11.5.16.

This targets a new release-11 branch, created from c999805 (the last commit on main before the 12.0 changes). The same change for main is #802.

Tested on Julia 1.10 and 1.12 with both LLVM.jl 9 and 10, and through the CUDA, OpenCL, oneAPI, Metal and AMDGPU test suites.


Disclaimer: this PR is AI-assisted and has not been reviewed in detail. Tests pass locally, so it should be a good starting point for a maintainer to complete the upgrade.

GPUArrays only uses LLVM.jl for the assume intrinsic. Import it
explicitly: LLVM.jl 10 exports more from LLVM.Interop, and the only
name GPUArrays needs works the same on 9.x and 10.x, so the compat can
admit both.
@maleadt
maleadt merged commit 262fe2e into release-11 Oct 3, 2026
17 of 18 checks passed
@maleadt
maleadt deleted the tb/llvm10-11 branch October 3, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant