Skip to content

Support LLVM 23 - #657

Merged
maleadt merged 4 commits into
mainfrom
tb/llvm23
Oct 10, 2026
Merged

maleadt merged 4 commits into
mainfrom
tb/llvm23

Conversation

@maleadt

@maleadt maleadt commented Oct 10, 2026 •

Copy link
Copy Markdown
Member

Add LLVM 23 bindings and adapt LLVMExtra to the changed ScalarEvolution and TTI APIs. Handle byte types and constants, split branch opcodes, explicit integer truncation, insertion into incomplete blocks, and removed passes and size pipelines. Update the IR printing expectations in the tests.

Complete local suites pass with type checking, memory checking, and bounds checking enabled:

  • LLVM 23.1.3 release and assertions: 6,751 tests each, using the Julia binaries from Buildkite build 3693.
  • LLVM 22.1.8: 6,717 tests; LLVM 15.0.7: 5,737 tests.

The LLVM 23 suites also pass with the libraries produced by the updated BinaryBuilder recipe. Both x86_64 Linux cxx11 variants build and pass its audit.

LLVMExtra 0.0.52 is built by JuliaPackaging/Yggdrasil#15070 from 75cef6b4d3d273dceb835e33470880de5651f6fb. The LLVMExtra_jll pin can be bumped once that release is registered; local testing uses the rebuilt library in the meantime.

@codecov

codecov Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 33.33333% with 10 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/core/value/constant.jl 36.36% 7 Missing ⚠️
src/core/type.jl 0.00% 2 Missing ⚠️
src/passes.jl 50.00% 1 Missing ⚠️
@@            Coverage Diff             @@
##             main     #657      +/-   ##
==========================================
- Coverage   94.27%   94.12%   -0.16%     
==========================================
  Files          56       56              
  Lines        5855     5869      +14     
==========================================
+ Hits         5520     5524       +4     
- Misses        335      345      +10     
Files with missing lines Coverage Δ
src/LLVM.jl 90.90% <ø> (ø)
src/core/instructions.jl 97.18% <ø> (ø)
src/passes.jl 93.75% <50.00%> (-0.31%) ⬇️
src/core/type.jl 94.91% <0.00%> (-1.64%) ⬇️
src/core/value/constant.jl 93.46% <36.36%> (-2.15%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@maleadt
maleadt merged commit 5d2435b into main Oct 10, 2026
41 checks passed
@maleadt
maleadt deleted the tb/llvm23 branch October 10, 2026 18:03
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