remove 'platform-intrinsic' ABI leftovers
This commit is contained in:
parent
e8c698bb3b
commit
fa0b97268a
@ -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 {
|
||||||
|
@ -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;
|
||||||
|
@ -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::*;
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user