Skip to content

vector.subi

vector dialect

Lanewise integer subtraction of same-typed vector operands. Optional overflow flags state required no-wrap facts for every lane.

Operation contract

Property Value
Semantic phase executable
Traits Pure, Elementwise

Signature

Kind Name Type Cardinality Description
Operand lhs vector required
Operand rhs vector required
Result result vector required
Attribute overflow flags IntOverflowFlags optional

Verification constraints

  • HasIntegerElement(result)
  • SameType(lhs, rhs, result)

Examples

Note

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