[mlir] Fix examples build
Missing two extra parameters.
This commit is contained in:
parent
0dc0a44132
commit
96cf183bcc
|
@ -212,7 +212,8 @@ mlir::ParseResult FuncOp::parse(mlir::OpAsmParser &parser,
|
|||
|
||||
return mlir::function_interface_impl::parseFunctionOp(
|
||||
parser, result, /*allowVariadic=*/false,
|
||||
getFunctionTypeAttrName(result.name), buildFuncType);
|
||||
getFunctionTypeAttrName(result.name), buildFuncType,
|
||||
getArgAttrsAttrName(result.name), getResAttrsAttrName(result.name));
|
||||
}
|
||||
|
||||
void FuncOp::print(mlir::OpAsmPrinter &p) {
|
||||
|
|
|
@ -199,7 +199,8 @@ mlir::ParseResult FuncOp::parse(mlir::OpAsmParser &parser,
|
|||
|
||||
return mlir::function_interface_impl::parseFunctionOp(
|
||||
parser, result, /*allowVariadic=*/false,
|
||||
getFunctionTypeAttrName(result.name), buildFuncType);
|
||||
getFunctionTypeAttrName(result.name), buildFuncType,
|
||||
getArgAttrsAttrName(result.name), getResAttrsAttrName(result.name));
|
||||
}
|
||||
|
||||
void FuncOp::print(mlir::OpAsmPrinter &p) {
|
||||
|
|
|
@ -288,7 +288,8 @@ mlir::ParseResult FuncOp::parse(mlir::OpAsmParser &parser,
|
|||
|
||||
return mlir::function_interface_impl::parseFunctionOp(
|
||||
parser, result, /*allowVariadic=*/false,
|
||||
getFunctionTypeAttrName(result.name), buildFuncType);
|
||||
getFunctionTypeAttrName(result.name), buildFuncType,
|
||||
getArgAttrsAttrName(result.name), getResAttrsAttrName(result.name));
|
||||
}
|
||||
|
||||
void FuncOp::print(mlir::OpAsmPrinter &p) {
|
||||
|
|
|
@ -288,7 +288,8 @@ mlir::ParseResult FuncOp::parse(mlir::OpAsmParser &parser,
|
|||
|
||||
return mlir::function_interface_impl::parseFunctionOp(
|
||||
parser, result, /*allowVariadic=*/false,
|
||||
getFunctionTypeAttrName(result.name), buildFuncType);
|
||||
getFunctionTypeAttrName(result.name), buildFuncType,
|
||||
getArgAttrsAttrName(result.name), getResAttrsAttrName(result.name));
|
||||
}
|
||||
|
||||
void FuncOp::print(mlir::OpAsmPrinter &p) {
|
||||
|
|
|
@ -288,7 +288,8 @@ mlir::ParseResult FuncOp::parse(mlir::OpAsmParser &parser,
|
|||
|
||||
return mlir::function_interface_impl::parseFunctionOp(
|
||||
parser, result, /*allowVariadic=*/false,
|
||||
getFunctionTypeAttrName(result.name), buildFuncType);
|
||||
getFunctionTypeAttrName(result.name), buildFuncType,
|
||||
getArgAttrsAttrName(result.name), getResAttrsAttrName(result.name));
|
||||
}
|
||||
|
||||
void FuncOp::print(mlir::OpAsmPrinter &p) {
|
||||
|
|
|
@ -315,7 +315,8 @@ mlir::ParseResult FuncOp::parse(mlir::OpAsmParser &parser,
|
|||
|
||||
return mlir::function_interface_impl::parseFunctionOp(
|
||||
parser, result, /*allowVariadic=*/false,
|
||||
getFunctionTypeAttrName(result.name), buildFuncType);
|
||||
getFunctionTypeAttrName(result.name), buildFuncType,
|
||||
getArgAttrsAttrName(result.name), getResAttrsAttrName(result.name));
|
||||
}
|
||||
|
||||
void FuncOp::print(mlir::OpAsmPrinter &p) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user