It was using an incorrect attribute type, but the test was still passing
because of the value being present in the output.
loc=None,
ip=None):
pdl_operation_type = pdl.OperationType.get()
- interchange_attr = _get_int_array_attr(iterator_interchange)
+ interchange_attr = _get_dense_int64_array_attr(iterator_interchange)
super().__init__(
pdl_operation_type,
_get_op_result_or_value(target),
with InsertionPoint(sequence.body):
structured.InterchangeOp(
sequence.bodyTarget,
- iterator_interchange=[
- IntegerAttr.get(IntegerType.get_signless(64), 1), 0
- ])
+ iterator_interchange=[1, 0])
transform.YieldOp()
# CHECK-LABEL: TEST: testInterchange
# CHECK: transform.sequence