bjorn3 opened PR #3391 from llvm_backend
to main
:
This adds a basic LLVM backend for Cranelift. I have tested it with a patched cg_clif. With this patched cg_clif it passes part of the cg_clif test suite, including running some executables that depend on libstd. It was originally developed in the cg_clif repo: https://github.com/bjorn3/rustc_codegen_cranelift/tree/cranelift_llvm There is still a lot of FIXME's and debug output left, so marking as draft
Depends on https://github.com/bytecodealliance/wasmtime/pull/3377
Fixes https://github.com/bytecodealliance/wasmtime/issues/1037
bjorn3 edited PR #3391 from llvm_backend
to main
:
This adds a basic LLVM backend for Cranelift. I have tested it with a patched cg_clif. With this patched cg_clif it passes part of the cg_clif test suite, including running some executables that depend on libstd. It was originally developed in the cg_clif repo: https://github.com/bjorn3/rustc_codegen_cranelift/tree/cranelift_llvm There is still a lot of FIXME's and debug output left, so marking as draft
Depends on https://github.com/bytecodealliance/wasmtime/pull/3377
Depends on https://github.com/TheDan64/inkwell/pull/273
https://github.com/bjorn3/rustc_codegen_cranelift/issues/1199 is relevant.
Fixes https://github.com/bytecodealliance/wasmtime/issues/1037
bjorn3 closed without merge PR #3391.
Last updated: Nov 22 2024 at 17:03 UTC