remove 'platform-intrinsic' ABI leftovers

This commit is contained in:
Ralf Jung 2024-11-07 17:42:49 +01:00
parent e8c698bb3b
commit fa0b97268a
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