rust/compiler/rustc_codegen_ssa/src
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
..
back Auto merge of #144398 - fmease:rollup-z6vq7mi, r=fmease 2025-07-24 17:15:38 +00:00
debuginfo Flatten ifs in rustc_codegen_ssa 2025-03-17 18:56:52 +00:00
mir Auto merge of #144347 - scottmcm:ssa-enums-v0, r=WaffleLapkin 2025-07-27 06:37:55 +00:00
traits Remove each_linked_rlib_for_lto from CodegenContext 2025-07-21 07:58:44 +00:00
assert_module_sources.rs Move methods from Map to TyCtxt, part 4. 2025-03-12 08:55:37 +11:00
base.rs Rollup merge of #143388 - bjorn3:lto_refactors, r=compiler-errors 2025-07-17 03:58:28 +02:00
codegen_attrs.rs use codegen_instance_attrs where an instance is (easily) available 2025-07-16 23:24:32 +02:00
common.rs Remove useless lifetime parameter. 2025-07-23 23:54:37 +00:00
errors.rs Move LTO symbol export calculation from backends to cg_ssa 2025-07-21 07:58:44 +00:00
lib.rs [Arm64EC] Only decorate functions with # 2025-06-23 12:38:35 -07:00
meth.rs Eliminate all direct uses of LLVMMDStringInContext2 2025-07-14 08:27:08 +00:00
mono_item.rs use codegen_instance_attrs where an instance is (easily) available 2025-07-16 23:24:32 +02:00
size_of_val.rs Replace some Option<Span> with Span and use DUMMY_SP instead of None 2025-06-05 14:14:59 +00:00
target_features.rs rustc_codegen_ssa: Don't skip target-features after crt-static 2025-07-18 18:59:13 +02:00