mlir_sys

Function mlirVectorTypeGetScalableChecked

Source
pub unsafe extern "C" fn mlirVectorTypeGetScalableChecked(
    loc: MlirLocation,
    rank: isize,
    shape: *const i64,
    scalable: *const bool,
    elementType: MlirType,
) -> MlirType
Expand description

Same as “mlirVectorTypeGetScalable” but returns a nullptr wrapping MlirType on illegal arguments, emitting appropriate diagnostics.