Back to PBT run

output.generic.mlir

"builtin.module"() ({
  "func.func"() <{function_type = (index) -> index, sym_name = "native_helper"}> ({
  ^bb0(%arg9: index):
    "func.return"(%arg9) : (index) -> ()
  }) : () -> ()
  "dataflow.thread"() <{domain = #dataflow.thread_domain<dense>, function_type = (memref<8xindex>, memref<8xindex>, memref<4x4xindex>, index) -> (), sym_name = "t0", sym_visibility = "private"}> ({
  ^bb0(%arg4: memref<8xindex>, %arg5: memref<8xindex>, %arg6: memref<4x4xindex>, %arg7: index, %arg8: none):
    %3 = "arith.constant"() <{value = 0 : index}> : () -> index
    %4 = "arith.constant"() <{value = 3 : index}> : () -> index
    "memref.store"(%4, %arg4, %3) : (index, memref<8xindex>, index) -> ()
    %5 = "dataflow.graph.launch"(%arg8, %arg7, %arg5, %arg6) <{callee = @g_t0_0, operandSegmentSizes = array<i32: 1, 1, 0, 2, 0>, resultSegmentSizes = array<i32: 0, 0, 1>, source_maps = []}> : (none, index, memref<8xindex>, memref<4x4xindex>) -> none
    "dataflow.thread.yield"(%5) : (none) -> ()
  }) : () -> ()
  "dataflow.graph"() <{function_type = (index, memref<8xindex>, memref<4x4xindex>) -> (), input_segments = array<i32: 1, 0, 2>, result_segments = array<i32: 0, 0, 0>, sym_name = "g_t0_0", sym_visibility = "private"}> ({
  ^bb0(%arg0: none, %arg1: index, %arg2: memref<8xindex>, %arg3: memref<4x4xindex>):
    %0 = "dataflow.constant"(%arg0) <{const_value = 7 : index}> : (none) -> index
    %1 = "dataflow.constant"(%arg0) <{const_value = 0 : index}> : (none) -> index
    %2 = "dataflow.store"(%arg2, %1, %0, %arg0) : (memref<8xindex>, index, index, none) -> none
    "dataflow.graph.return"(%2) <{operandSegmentSizes = array<i32: 0, 0, 0, 1>}> : (none) -> ()
  }) : () -> ()
}) : () -> ()