Back to PBT run
input.mlir
module {
dataflow.thread private @thread_0 domain(#dataflow.thread_domain<dense>)(%target: memref<4xi32>, %value: i32, %enabled: i1, %limit: index) ctrl (%start: none) {
%c_zero_0 = arith.constant 0 : index
%c_one_0 = arith.constant 1 : index
scf.for %iv_0_0 = %c_zero_0 to %limit step %c_one_0 {
scf.if %enabled {
"loom.spatial_region"()
<{operandSegmentSizes = array<i32: 0, 0, 0, 0>,
resultSegmentSizes = array<i32: 0, 0>}> ({
^bb_entry:
"loom.spatial_yield"()
<{operandSegmentSizes = array<i32: 0, 0>}> : () -> ()
}) {graph_name = "graph_0_0", source_maps = []} : () -> ()
}
}
scf.for %iv_0_1 = %c_zero_0 to %limit step %c_one_0 {
"loom.spatial_region"()
<{operandSegmentSizes = array<i32: 0, 0, 0, 0>,
resultSegmentSizes = array<i32: 0, 0>}> ({
^bb_entry:
"loom.spatial_yield"()
<{operandSegmentSizes = array<i32: 0, 0>}> : () -> ()
}) {graph_name = "graph_0_1", source_maps = []} : () -> ()
}
dataflow.thread.yield
}
dataflow.thread private @thread_1 domain(#dataflow.thread_domain<dense>)(%target: memref<4xi32>, %value: i32, %enabled: i1, %limit: index) ctrl (%start: none) {
%c_zero_1 = arith.constant 0 : index
%c_one_1 = arith.constant 1 : index
scf.if %enabled {
"loom.spatial_region"()
<{operandSegmentSizes = array<i32: 0, 0, 0, 0>,
resultSegmentSizes = array<i32: 0, 0>}> ({
^bb_entry:
"loom.spatial_yield"()
<{operandSegmentSizes = array<i32: 0, 0>}> : () -> ()
}) {graph_name = "graph_1_0", source_maps = []} : () -> ()
}
dataflow.thread.yield
}
}