Stream: git-wasmtime

Topic: wasmtime / PR #3391 Add basic LLVM Cranelift backend


view this post on Zulip Wasmtime GitHub notifications bot (Sep 27 2021 at 16:17):

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

view this post on Zulip Wasmtime GitHub notifications bot (Sep 27 2021 at 16:19):

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

view this post on Zulip Wasmtime GitHub notifications bot (Sep 28 2021 at 20:47):

bjorn3 closed without merge PR #3391.


Last updated: Dec 23 2024 at 13:07 UTC