Skip to content

index.mul

← index dialect

Logical coordinate multiplication. Offsets are physical byte counts and cannot be multiplied with this op.

Operation contract

Property Value
Semantic phase executable
Traits Pure, Commutative, DistributionTransfer

Signature

Kind Name Type Cardinality Description
Operand lhs index required —
Operand rhs index required —
Result result index required —

Verification constraints

  • SameType(lhs, rhs, result)

Examples

%r = index.mul %lhs, %rhs : index