Files
wasmtime/cranelift/codegen
Trevor Elliott fac4a915a3 Assert that we only use virtual registers with moves (#5440)
Assert that we never see real registers as arguments to move instructions in VCodeBuilder::collect_operands.

Also fix a bug in the riscv64 backend that was discovered by these assertions: the lowerings of get_stack_pointer and get_frame_pointer were using physical registers 8 and 2 directly. The solution was similar to other backends: add a move instruction specifically for moving out of physical registers, whose source operand is opaque to regalloc2.
2022-12-20 18:22:47 -08:00
..
2021-10-10 14:19:08 +02:00
2022-12-05 08:38:57 -06:00

This crate contains the core Cranelift code generator. It translates code from an intermediate representation into executable machine code.