rust/compiler/rustc_codegen_ssa
bors 86ef320294 Auto merge of #144347 - scottmcm:ssa-enums-v0, r=WaffleLapkin
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
2025-07-27 06:37:55 +00:00
..
src Auto merge of #144347 - scottmcm:ssa-enums-v0, r=WaffleLapkin 2025-07-27 06:37:55 +00:00
Cargo.toml CodeGen: rework Aggregate implemention for rvalue_creates_operand cases 2025-06-17 18:59:22 -07:00
messages.ftl Move LTO symbol export calculation from backends to cg_ssa 2025-07-21 07:58:44 +00:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.