mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-01 21:45:15 +00:00
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.