[Mlir-commits] [mlir] 94ee052 - [mlir] Fix assembly format parser generator after 9ea6b30ac20f8223fb6aeae853e5c73691850a8d.

Oleg Shyshkov llvmlistbot at llvm.org
Tue Jul 25 08:41:00 PDT 2023


Author: Oleg Shyshkov
Date: 2023-07-25T17:39:03+02:00
New Revision: 94ee052509d5dc40d1b29d7c121ebf883084a216

URL: https://github.com/llvm/llvm-project/commit/94ee052509d5dc40d1b29d7c121ebf883084a216
DIFF: https://github.com/llvm/llvm-project/commit/94ee052509d5dc40d1b29d7c121ebf883084a216.diff

LOG: [mlir] Fix assembly format parser generator after 9ea6b30ac20f8223fb6aeae853e5c73691850a8d.

Added: 
    

Modified: 
    mlir/tools/mlir-tblgen/OpFormatGen.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/tools/mlir-tblgen/OpFormatGen.cpp b/mlir/tools/mlir-tblgen/OpFormatGen.cpp
index 1e131799fbdced..2efd82fd526dbf 100644
--- a/mlir/tools/mlir-tblgen/OpFormatGen.cpp
+++ b/mlir/tools/mlir-tblgen/OpFormatGen.cpp
@@ -1714,7 +1714,7 @@ void OperationFormat::genParserVariadicSegmentResolution(Operator &op,
           ");\n",
           op.getCppClassName());
     } else {
-      body << "  result.addAttribute(\"odsResultSegmentSizes\", "
+      body << "  result.addAttribute(\"result_segment_sizes\", "
            << "parser.getBuilder().getDenseI32ArrayAttr({";
       llvm::interleaveComma(op.getResults(), body, interleaveFn);
       body << "}));\n";


        


More information about the Mlir-commits mailing list