[Mlir-commits] [mlir] Adding mlir models (PR #141158)

Paul Kirth llvmlistbot at llvm.org
Tue May 27 14:58:42 PDT 2025


================
@@ -33,13 +33,50 @@ void registerToCppTranslation() {
       "file-id", llvm::cl::desc("Emit emitc.file ops with matching id"),
       llvm::cl::init(""));
 
+  static llvm::cl::opt<bool> emitClass(
+      "emit-class",
+      llvm::cl::desc("If specified, the output will be a class where "
+                     "the function(s) in the module are members. "
----------------
ilovepi wrote:

```suggestion
                     "the function(s) in the module are methods. "
```

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


More information about the Mlir-commits mailing list