[Mlir-commits] [mlir] [mlir] [irdl] Add support for regions in irdl-to-cpp (PR #158540)

Théo Degioanni llvmlistbot at llvm.org
Mon Sep 29 10:24:26 PDT 2025


================
@@ -238,6 +273,23 @@ static void generateOpBuilderDeclarations(irdl::detail::dictionary &dict,
   dict["OP_BUILD_DECLS"] = buildDecls;
 }
 
+// add traits to the dictionary, return true if any were added
+static SmallVector<std::string> generateTraits(irdl::detail::dictionary &dict,
----------------
Moxinilian wrote:

What is the dict for here?

https://github.com/llvm/llvm-project/pull/158540


More information about the Mlir-commits mailing list