Back to PBT run

input.generic.mlir

"builtin.module"() ({
  "dataflow.thread"() <{domain = #dataflow.thread_domain<dense>, function_type = (memref<8xi32>) -> (), sym_name = "thread_0", sym_visibility = "private"}> ({
  ^bb0(%arg0: memref<8xi32>, %arg1: none, %arg2: index):
    %3 = "arith.constant"() <{value = 7 : i32}> : () -> i32
    "dataflow.thread.yield"(%arg1) : (none) -> ()
  }) : () -> ()
  "func.func"() <{function_type = () -> (), sym_name = "host_0"}> ({
    %0 = "memref.alloc"() <{operandSegmentSizes = array<i32: 0, 0>}> : () -> memref<8xi32>
    %1 = "arith.constant"() <{value = 4 : index}> : () -> index
    %2 = "dataflow.thread.launch"(%0, %1) <{callee = @thread_0, operandSegmentSizes = array<i32: 1, 1, 0>}> : (memref<8xi32>, index) -> !dataflow.thread_token
    "func.return"() : () -> ()
  }) : () -> ()
}) : () -> ()