mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-06 20:27:48 +00:00

LLVM can usually optimize these away, but especially for things like transmutes of newtypes it's silly to generate the `alloc`+`store`+`load` at all when it's actually a nop at LLVM level.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.