Skip to content

index.rotri

← index dialect

Right rotate over logical coordinate values, with the count reduced modulo the target coordinate-carrier width. Offsets are physical byte counts and cannot use this op.

Operation contract

Property Value
Semantic phase executable
Traits Pure, DistributionTransfer, SafeToSpeculate

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.rotri %lhs, %rhs : index