Skip to content

Conversation

@wenyongh
Copy link
Contributor

@wenyongh wenyongh commented Jun 9, 2022

Enable opaque pointer for aot compiler to meet the requirements
of LLVM 15, modify LLVMBuildLoad/LLVMBuildCall/LLVMInBoundsGEP
to LLVMBuildLoad2/LLVMBuildCall2/LLVMInBoundsGEP2, and pass
the related type.
And update the build script to build LLVM 15 by default.

@wenyongh wenyongh changed the title Enable opaque pointer for aot compiler to fit LLVM 15 [WIP] Enable opaque pointer for aot compiler to fit LLVM 15 Jun 9, 2022
@wenyongh wenyongh changed the title [WIP] Enable opaque pointer for aot compiler to fit LLVM 15 Enable opaque pointer for aot compiler to fit LLVM 15 Jun 9, 2022
@lum1n0us
Copy link
Collaborator

It seems some c-api are deprecated and should move to their new version
https://llvm.org/docs/OpaquePointers.html#frontends

@wenyongh wenyongh changed the title Enable opaque pointer for aot compiler to fit LLVM 15 Enable opaque pointer for aot compiler to fit LLVM 14/15 Jun 13, 2022
@wenyongh wenyongh merged commit 70ff72e into bytecodealliance:dev/upgrade_llvm_wasi_sdk_emsdk Jun 13, 2022
wenyongh added a commit to wenyongh/wasm-micro-runtime that referenced this pull request Jun 14, 2022
…dk_emsdk

Enable opaque pointer for aot compiler to fit LLVM 14/15 (bytecodealliance#1218)
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