diff options
| author | Alisa Sireneva <me@purplesyringa.moe> | 2025-07-15 12:55:46 +0300 |
|---|---|---|
| committer | Alisa Sireneva <me@purplesyringa.moe> | 2025-07-23 02:17:54 +0300 |
| commit | ed11a396435fc1de59bf40b39789cf8b5c7f5307 (patch) | |
| tree | 26597747d75ece82e83fe66736d4f04ccaf024dd /compiler/rustc_parse/src/parser/item.rs | |
| parent | a7a1618e6c835f1f00940ad72203d05808209a0d (diff) | |
| download | rust-ed11a396435fc1de59bf40b39789cf8b5c7f5307.tar.gz rust-ed11a396435fc1de59bf40b39789cf8b5c7f5307.zip | |
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.
Diffstat (limited to 'compiler/rustc_parse/src/parser/item.rs')
0 files changed, 0 insertions, 0 deletions
