Skip to content

vector.empty

vector dialect

Materialize the unique empty aggregate value for a static zero-lane vector type. Empty vectors are ordinary values, not poison, and pure zero-lane computation canonicalizes to this op.

Operation contract

Property Value
Semantic phase
Traits Pure, ConstantLike, RefinableResultTypeRefs

Signature

Kind Name Type Cardinality Description
Result result vector required

Examples

%v = vector.empty : vector<0xf32>