15 lines · plain
1module attributes {transform.with_named_sequence} {2 transform.named_sequence @unroll_to_elements(%module_op: !transform.any_op {transform.readonly}) {3 4 %func_op = transform.structured.match ops{["func.func"]} in %module_op5 : (!transform.any_op) -> !transform.any_op6 transform.apply_patterns to %func_op {7 // Test patterns8 transform.apply_patterns.vector.unroll_to_elements9 transform.apply_patterns.vector.unroll_from_elements10 } : !transform.any_op11 12 transform.yield13 }14}15