rust/compiler/rustc_codegen_ssa/src
bors 2b5e239c6b Auto merge of #144225 - purplesyringa:unwinding-intrinsics, r=nikic
Don't special-case llvm.* as nounwind

Certain LLVM intrinsics, such as `llvm.wasm.throw`, can unwind. Marking them as nounwind causes us to skip cleanup of locals and optimize out `catch_unwind` under inlining or when `llvm.wasm.throw` is used directly by user code.

The motivation for forcibly marking llvm.* as nounwind is no longer present: most intrinsics are linked as `extern "C"` or other non-unwinding ABIs, so we won't codegen `invoke` for them anyway.

Closes rust-lang/rust#132416.

`@rustbot` label +T-compiler +A-panic
2025-07-27 23:05:48 +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 Don't special-case llvm.* as nounwind 2025-07-23 02:17:54 +03: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