Fixes #4736 Fix lowerings that were using values as both a Reg and a RegMem, making it look like a load could be sunk while its value in a register was still being used. Also add an assert that checks that loads that are sunk are never used.
This crate contains the core Cranelift code generator. It translates code from an intermediate representation into executable machine code.