unstable-book/intrinsics: wordsmith MIR-lowering intrinsic docs

This commit is contained in:
Ralf Jung 2025-04-07 18:16:07 +02:00
parent e643f59f6d
commit e1a69da856

View File

@ -53,7 +53,8 @@ Various intrinsics have native MIR operations that they correspond to. Instead o
backends to implement both the intrinsic and the MIR operation, the `lower_intrinsics` pass
will convert the calls to the MIR operation. Backends do not need to know about these intrinsics
at all. These intrinsics only make sense without a body, and can be declared as a `#[rustc_intrinsic]`.
The body is never used, as calls to the intrinsic do not exist anymore after MIR analyses.
The body is never used as the lowering pass implements support for all backends, so we never have to
use the fallback logic.
## Intrinsics without fallback logic