Skip to content

vector.addi

vector dialect

Lanewise integer addition 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, Commutative

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.