about summary refs log tree commit diff
path: root/compiler/rustc_resolve
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-07-27 06:37:55 +0000
committerbors <bors@rust-lang.org>2025-07-27 06:37:55 +0000
commit86ef32029427cfc4161a3fd7a51992302f7c5552 (patch)
tree2cd86982c6655687dbe2a086058cd05e7301ef66 /compiler/rustc_resolve
parent052114f0c5e8d49f62f8caba364b07017310ab09 (diff)
parent6a5c7e04156125cb8c1ff78eae95e6ff076f51ed (diff)
downloadrust-86ef32029427cfc4161a3fd7a51992302f7c5552.tar.gz
rust-86ef32029427cfc4161a3fd7a51992302f7c5552.zip
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
Diffstat (limited to 'compiler/rustc_resolve')
0 files changed, 0 insertions, 0 deletions