Back to PBT run

input.generic.mlir

"builtin.module"() ({
  "dataflow.graph"() <{function_type = (i64, i64, i64, i64, memref<?xi64>) -> (), input_segments = array<i32: 4, 0, 1>, result_segments = array<i32: 0, 0, 0>, sym_name = "rw_0", sym_visibility = "private"}> ({
  ^bb0(%arg0: none, %arg1: i64, %arg2: i64, %arg3: i64, %arg4: i64, %arg5: memref<?xi64>):
    "scf.for"(%arg1, %arg2, %arg3) ({
    ^bb0(%arg6: i64):
      %0 = "arith.addi"(%arg6, %arg1) <{overflowFlags = #arith.overflow<none>}> : (i64, i64) -> i64
      %1 = "arith.index_cast"(%0) : (i64) -> index
      %2 = "memref.load"(%arg5, %1) : (memref<?xi64>, index) -> i64
      %3 = "arith.muli"(%2, %arg4) <{overflowFlags = #arith.overflow<none>}> : (i64, i64) -> i64
      "memref.store"(%3, %arg5, %1) : (i64, memref<?xi64>, index) -> ()
      "scf.yield"() : () -> ()
    }) : (i64, i64, i64) -> ()
    "dataflow.graph.return"(%arg0) <{operandSegmentSizes = array<i32: 0, 0, 0, 1>}> : (none) -> ()
  }) : () -> ()
}) : () -> ()