diff options
| author | David Spickett <david.spickett@linaro.org> | 2022-12-09 14:49:44 +0000 |
|---|---|---|
| committer | David Spickett <david.spickett@linaro.org> | 2022-12-09 15:02:39 +0000 |
| commit | f3379feabe38fd3711b13ffcf6de4aab03b7ccdc (patch) | |
| tree | 9c516d7e7c867a3a76416f4cf0ed41b877714501 /mlir/lib/Dialect/MLProgram/IR/MLProgramOps.cpp | |
| parent | 05ff7606c9d47135ecf5b69e25b1327634f6fa27 (diff) | |
Revert "[mlir] FunctionOpInterface: arg and result attrs dispatch to interface"
and "[flang] Fix flang after MLIR update"
This reverts commit dd74e6b6f4fb7a4685086a4895c1934e043f875b and
1897b67ae86470ad54f6baea6f220933d8053b5b due to ongoing test failures on flang
bots e.g. https://lab.llvm.org/buildbot/#/builders/179/builds/5050
Diffstat (limited to 'mlir/lib/Dialect/MLProgram/IR/MLProgramOps.cpp')
| -rw-r--r-- | mlir/lib/Dialect/MLProgram/IR/MLProgramOps.cpp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/mlir/lib/Dialect/MLProgram/IR/MLProgramOps.cpp b/mlir/lib/Dialect/MLProgram/IR/MLProgramOps.cpp index 31ed5ad3b987..27c613088df5 100644 --- a/mlir/lib/Dialect/MLProgram/IR/MLProgramOps.cpp +++ b/mlir/lib/Dialect/MLProgram/IR/MLProgramOps.cpp @@ -153,14 +153,12 @@ ParseResult FuncOp::parse(OpAsmParser &parser, OperationState &result) { return function_interface_impl::parseFunctionOp( parser, result, /*allowVariadic=*/false, - getFunctionTypeAttrName(result.name), buildFuncType, - getArgAttrsAttrName(result.name), getResAttrsAttrName(result.name)); + getFunctionTypeAttrName(result.name), buildFuncType); } void FuncOp::print(OpAsmPrinter &p) { - function_interface_impl::printFunctionOp( - p, *this, /*isVariadic=*/false, getFunctionTypeAttrName(), - getArgAttrsAttrName(), getResAttrsAttrName()); + function_interface_impl::printFunctionOp(p, *this, /*isVariadic=*/false, + getFunctionTypeAttrName()); } //===----------------------------------------------------------------------===// @@ -318,14 +316,12 @@ ParseResult SubgraphOp::parse(OpAsmParser &parser, OperationState &result) { return function_interface_impl::parseFunctionOp( parser, result, /*allowVariadic=*/false, - getFunctionTypeAttrName(result.name), buildFuncType, - getArgAttrsAttrName(result.name), getResAttrsAttrName(result.name)); + getFunctionTypeAttrName(result.name), buildFuncType); } void SubgraphOp::print(OpAsmPrinter &p) { - function_interface_impl::printFunctionOp( - p, *this, /*isVariadic=*/false, getFunctionTypeAttrName(), - getArgAttrsAttrName(), getResAttrsAttrName()); + function_interface_impl::printFunctionOp(p, *this, /*isVariadic=*/false, + getFunctionTypeAttrName()); } //===----------------------------------------------------------------------===// |
