rustc_codegen_cranelift icon indicating copy to clipboard operation
rustc_codegen_cranelift copied to clipboard

Cranelift based backend for rustc

Results 147 rustc_codegen_cranelift issues
Sort by recently updated
recently updated
newest added

This inspector allow you to pick a single function and then present the clif ir (before and after optimization) and compiled vcode/asm of said function. It should also show the...

C-enhancement
A-compiler-debug

We could for example use serde to store it in a binary format, instead of writing a text version. That would save a lot of disk space and reduce time...

C-enhancement
A-compiler-debug

hello, its my first time using cranelift as a back-end, my first hello world program which is just a cargo new project, crashes with SIGILL ` build cg_clif_dir/build/cargo.sh b `...

C-enhancement
O-x86_64

Introduced in rust-lang/rust#55627 This will reduce duplication between `rustc_codegen_llvm` and `rustc_codegen_cranelift` and will make it easier to implement not yet implemented stuff. Blocked on rust-lang/rust#56048 (`rustc_codegen_ssa` didn't get included in...

bfcf97bd8360931eb088d65f247fc9e1016f8199 causes a CI failure on macOS: https://github.com/bjorn3/rustc_codegen_cranelift/runs/1862704034?check_suite_focus=true ``` thread 'rustc' panicked at 'can't resolve symbol _ZN9mini_core8A_STATIC17h40582d3cac6ec0e9E', /Users/runner/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/5b55ba8/cranelift/jit/src/backend.rs:229:21 ``` It has been reverted in c5dff34ae97007ed5a6f53b9b8c71b4d40cde997.

C-bug
O-macos
A-jit

C-enhancement
compile-time

The silicon that supports these more or less directly: GPUs handle Vec3s (`f32x3` typically) all the time already. Arm SVE supports 384-bit width vector registers and is available Soon™. RISCVV...

C-enhancement
A-core-arch

All memory accesses will use a Cranelift heap, just like for web assembly. In addition only explicitly allowed function calls will be allowed. This sandbox mode will not be available...

C-enhancement
A-jit

cc #247 I got a branch to test it at https://github.com/bjorn3/rustc_codegen_cranelift/tree/wip_test_rustc_testsuite. Excluding the following tests: `src/test/run-pass/{asm-*,abi-*,extern/,panic-runtime/,panics/,unsized-locals/,proc-macro/,threads-sendsync/,thinlto/,simd/}` The following `run-pass` tests fail: ``` failures: [run-pass] run-pass/allocator/custom.rs [run-pass] run-pass/allocator/xcrate-use.rs [run-pass] run-pass/allocator/xcrate-use2.rs [run-pass]...

C-bug

When using `-Zalways-encode-mir` it would be possible to lazily jit functions that would normally be compiled in different crates.

C-enhancement
A-jit