Rollup merge of #132734 - RalfJung:platform-intrinsic, r=compiler-errors

remove 'platform-intrinsic' ABI leftovers

This was removed a while ago, but some parts haven't been fully cleaned up.
This commit is contained in:
Matthias Krüger 2024-11-07 18:19:38 +01:00 committed by GitHub
commit fd41a373f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,4 @@
//! Codegen of intrinsics. This includes `extern "rust-intrinsic"`, `extern "platform-intrinsic"` //! Codegen of intrinsics. This includes `extern "rust-intrinsic"`,
//! and LLVM intrinsics that have symbol names starting with `llvm.`. //! and LLVM intrinsics that have symbol names starting with `llvm.`.
macro_rules! intrinsic_args { macro_rules! intrinsic_args {

View File

@ -1,4 +1,4 @@
//! Codegen `extern "platform-intrinsic"` intrinsics. //! Codegen SIMD intrinsics.
use cranelift_codegen::ir::immediates::Offset32; use cranelift_codegen::ir::immediates::Offset32;
use rustc_target::abi::Endian; use rustc_target::abi::Endian;

View File

@ -1,5 +1,4 @@
//! Type-checking for the rust-intrinsic and platform-intrinsic //! Type-checking for the rust-intrinsic intrinsics that the compiler exposes.
//! intrinsics that the compiler exposes.
use rustc_abi::ExternAbi; use rustc_abi::ExternAbi;
use rustc_errors::codes::*; use rustc_errors::codes::*;

View File

@ -71,7 +71,7 @@ pub enum InstanceKind<'tcx> {
/// - coroutines /// - coroutines
Item(DefId), Item(DefId),
/// An intrinsic `fn` item (with `"rust-intrinsic"` or `"platform-intrinsic"` ABI). /// An intrinsic `fn` item (with `"rust-intrinsic"` ABI).
/// ///
/// Alongside `Virtual`, this is the only `InstanceKind` that does not have its own callable MIR. /// Alongside `Virtual`, this is the only `InstanceKind` that does not have its own callable MIR.
/// Instead, codegen and const eval "magically" evaluate calls to intrinsics purely in the /// Instead, codegen and const eval "magically" evaluate calls to intrinsics purely in the