mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-06 12:16:22 +00:00

No longer need `alloca`s for consuming `Result<!, i32>` and similar In optimized builds GVN gets rid of these already, but in `opt-level=0` we actually make `alloca`s for this, which particularly impacts `?`-style things that use actually-only-one-variant types like this. While doing so, rewrite `LocalAnalyzer::process_place` to be non-recursive, solving a 6+ year old FIXME. r? codegen
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.