Skip to content

scalar.remsi

scalar dialect

Signed integer remainder.

Operation contract

Property Value
Semantic phase executable
Traits Pure, DistributionTransfer

Signature

Kind Name Type Cardinality Description
Operand lhs integer required
Operand rhs integer required
Result result integer required

Verification constraints

  • SameType(lhs, rhs, result)

Examples

%result = scalar.remsi %lhs, %rhs : i32