Skip to content

vector.fptosi

vector dialect

Lanewise floating-point to signed integer conversion with unchanged shape.

Operation contract

Property Value
Semantic phase executable
Traits Pure, Elementwise

Signature

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

Verification constraints

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

Examples

Note

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