diff options
Diffstat (limited to 'mlir/lib/Target/IRDLToCpp/IRDLToCpp.cpp')
-rw-r--r-- | mlir/lib/Target/IRDLToCpp/IRDLToCpp.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/mlir/lib/Target/IRDLToCpp/IRDLToCpp.cpp b/mlir/lib/Target/IRDLToCpp/IRDLToCpp.cpp index e3f075f..8ecb084 100644 --- a/mlir/lib/Target/IRDLToCpp/IRDLToCpp.cpp +++ b/mlir/lib/Target/IRDLToCpp/IRDLToCpp.cpp @@ -464,12 +464,6 @@ static std::string generateOpDefinition(irdl::detail::dictionary &dict, auto opStrings = getStrings(op); fillDict(dict, opStrings); - const auto operandCount = opStrings.opOperandNames.size(); - const auto operandNames = - operandCount ? joinNameList(opStrings.opOperandNames) : "{\"\"}"; - - const auto resultNames = joinNameList(opStrings.opResultNames); - auto resultTypes = llvm::join( llvm::map_range(opStrings.opResultNames, [](StringRef attr) -> std::string { |