mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
2d7ac728e4
As a side effect, we now represent most promoteds as `ConstValue::Scalar` again. This is useful because all implict promoteds are just references anyway and most explicit promoteds are numeric arguments to `asm!` or SIMD instructions.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.