Skip to content

index.shrsi

index dialect

Arithmetic right shift over logical coordinate values. Offsets are physical byte counts and cannot use this op.

Operation contract

Property Value
Semantic phase executable
Traits Pure, 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.shrsi %lhs, %rhs : index