mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-19 21:50:33 +00:00
Casting to `*const ()` or `*mut ()` just bloats the MIR, so let's not. If ACP#362 goes through we can keep calling `ptr::from_raw_parts(_mut)` in these also without the cast, but that hasn't had any libs-api attention yet, so I'm not waiting on it.
The goal of this directory is to track the quality of MIR that is given to codegen in a standard -O condiguration.
As such, feel free to --bless whatever changes you get here, so long as doing so doesn't add substantially more MIR.