Skip to content

vector.extsi

← vector dialect

Lanewise signed integer extension. Source and result shapes match exactly, and each source lane is sign-extended to the result element width.

Operation contract

Property Value
Semantic phase executable
Traits Pure, Elementwise, SafeToSpeculate

Signature

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

Verification constraints

  • HasIntegerElement(input)
  • HasIntegerElement(result)
  • SameKind(input, result)
  • SameShape(input, result)
  • ElementWidthGreaterThan(result, input)

Examples

Note

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