blob: bc74d6c71708e96886448e48c7de3f40d32bd38f [file] [log] [blame]
// RUN: iree-opt %s
transform.with_pdl_patterns {
^bb0(%arg0: !pdl.operation):
transform.structured.canonicalized_sequence %arg0 {
^bb1(%arg1: !pdl.operation):
%0 = transform.structured.match ops{["linalg.generic"]} in %arg1
%foreach_thread, %tiled_generic = transform.structured.tile_to_foreach_thread_op %0 num_threads [2]
transform.iree.foreach_thread_to_flow %foreach_thread
}
}