Commit f75c5a38 authored by Paul's avatar Paul
Browse files

Format

parent af09c35f
...@@ -402,8 +402,8 @@ struct mlir_program ...@@ -402,8 +402,8 @@ struct mlir_program
std::vector<MlirLocation> arg_locs(inputs.size(), location); std::vector<MlirLocation> arg_locs(inputs.size(), location);
auto body_inputs = make_tensors(inputs); auto body_inputs = make_tensors(inputs);
mlir_region region = mlirRegionCreate(); mlir_region region = mlirRegionCreate();
mlir_block fbody = mlirBlockCreate(body_inputs.size(), body_inputs.data(), arg_locs.data()); mlir_block fbody = mlirBlockCreate(body_inputs.size(), body_inputs.data(), arg_locs.data());
MlirBlock result = fbody.get(); MlirBlock result = fbody.get();
mlirRegionAppendOwnedBlock(region.get(), fbody.release()); mlirRegionAppendOwnedBlock(region.get(), fbody.release());
auto ops = create_operation_state("func.func"); auto ops = create_operation_state("func.func");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment