Constant rustc_middle::ty::layout::MAX_SIMD_LANES
source ยท pub const MAX_SIMD_LANES: u64 = _; // 32_768u64
Expand description
The maximum supported number of lanes in a SIMD vector.
This value is selected based on backend support:
- LLVM does not appear to have a vector width limit.
- Cranelift stores the base-2 log of the lane count in a 4 bit integer.