about summary refs log tree commit diff
path: root/compiler/rustc_parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-07-27 23:05:48 +0000
committerbors <bors@rust-lang.org>2025-07-27 23:05:48 +0000
commit2b5e239c6b86cde974b0ef0f8e23754fb08ff3c5 (patch)
treede89cecf7dc22a8aef5a0e27d1d173a1a5c3cee7 /compiler/rustc_parse
parentf8e355c230c6eb7b78ffce6a92fd81f78c890524 (diff)
parent17519aeaef0b4b9c1a6bcb6d558aba4b26d044a8 (diff)
downloadrust-2b5e239c6b86cde974b0ef0f8e23754fb08ff3c5.tar.gz
rust-2b5e239c6b86cde974b0ef0f8e23754fb08ff3c5.zip
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
Diffstat (limited to 'compiler/rustc_parse')
0 files changed, 0 insertions, 0 deletions