Commit 516779cb authored by Paul's avatar Paul
Browse files

Format

parent a4d40fd0
...@@ -403,8 +403,9 @@ struct mlir_program ...@@ -403,8 +403,9 @@ struct mlir_program
mlirRegionAppendOwnedBlock(region.get(), fbody.release()); mlirRegionAppendOwnedBlock(region.get(), fbody.release());
auto ops = create_operation_state("func.func"); auto ops = create_operation_state("func.func");
ops.add_attributes( ops.add_attributes({{"function_type", make_function_type(inputs, outputs)},
{{"function_type", make_function_type(inputs, outputs)}, {"sym_name", std::string("main")}, {"kernel", std::string("mixr")}}); {"sym_name", std::string("main")},
{"kernel", std::string("mixr")}});
ops.add_region(std::move(region)); ops.add_region(std::move(region));
insert(body, std::move(ops)); insert(body, std::move(ops));
......
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