Skip to content

vector.shrsi

vector dialect

Lanewise arithmetic right shift of same-typed integer vector operands.

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

Verification constraints

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

Examples

Note

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