mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
0586c63e07
The conversation in 143502 made be realize how easy this is to handle, since the only possibilty is ZSTs -- everything else ends up with the destination being `LocalKind::Memory` and thus doesn't call `codegen_rvalue_operand` at all. This gets us perilously close to a world where `rvalue_creates_operand` only ever returns true. I'll try out such a world next :)
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.