Skip to content

Support LLVM 21 in LLVMExtra#527

Open
yuyichao wants to merge 5 commits intoJuliaLLVM:masterfrom
yuyichao:yyc/llvm21-lib
Open

Support LLVM 21 in LLVMExtra#527
yuyichao wants to merge 5 commits intoJuliaLLVM:masterfrom
yuyichao:yyc/llvm21-lib

Conversation

@yuyichao
Copy link
Copy Markdown
Contributor

These functions are now implemented in LLVM.

@yuyichao
Copy link
Copy Markdown
Contributor Author

Added wrappers for llvm 21.

Judging from the output, it seems that the issue with missing the first definition might've been fixed with clang 20. The dummy wrapper should be harmless for the moment so I've let it as is before someone else can verify this.

@yuyichao
Copy link
Copy Markdown
Contributor Author

Like base julia the thread safe context change might need other changes to work.

@yuyichao yuyichao force-pushed the yyc/llvm21-lib branch 8 times, most recently from c777865 to e499e7f Compare October 29, 2025 18:40
Update LLVMConstDataArray to match LLVM version.
Remove dummy function from LLVMExtra.h since it does not seem to be necessary for Clang 18+ anymore
@yuyichao
Copy link
Copy Markdown
Contributor Author

Test passes now with the exception of jljit ones...

@maleadt
Copy link
Copy Markdown
Member

maleadt commented Apr 14, 2026

jljit issue reduced to JuliaLang/julia#60031, fix in JuliaLang/julia#61575

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.

2 participants