diff options
| author | bors <bors@rust-lang.org> | 2025-06-14 16:43:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-06-14 16:43:34 +0000 |
| commit | 5b660c5357a0e18f4e6f21da325233c0652415b9 (patch) | |
| tree | b1fc8861be139eae185678ebd523e9fb844d8bde /tests/rustdoc-js-std/parser-slice-array.js | |
| parent | 4ffcf8021a5ef1cbf4702877a64d31d253257e0c (diff) | |
| parent | fa425db34ffc0ff21addf1cbe612baf7ed135527 (diff) | |
| download | rust-5b660c5357a0e18f4e6f21da325233c0652415b9.tar.gz rust-5b660c5357a0e18f4e6f21da325233c0652415b9.zip | |
Auto merge of #142259 - sayantn:simplify-intrinsics, r=workingjubilee
Simplify implementation of Rust intrinsics by using type parameters in the cache The current implementation of intrinsics have a lot of duplication to handle different overloads of overloaded LLVM intrinsic. This PR uses the **base name and the type parameters** in the cache instead of the full, overloaded name. This has the benefit that `call_intrinsic` doesn't need to provide the full name, rather the type parameters (which is most of the time more available). This uses `LLVMIntrinsicCopyOverloadedName2` to get the overloaded name from the base name and the type parameters, and only uses it to declare the function. (originally was part of rust-lang/rust#140763, split off later) `@rustbot` label A-codegen A-LLVM r? codegen
Diffstat (limited to 'tests/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions
