Skip to content

vector.ctlzi

vector dialect

Lanewise count leading zeros over integer lanes.

Operation contract

Property Value
Semantic phase
Traits Pure, Elementwise

Signature

Kind Name Type Cardinality Description
Operand input vector required
Result result vector required

Verification constraints

  • HasIntegerElement(result)
  • SameType(input, result)

Examples

Note

A canonical source example has not been added for this operation yet.