[Mlir-commits] [mlir] [emitC]Option to mlir-translate class instead of function (PR #141158)
Mircea Trofin
llvmlistbot at llvm.org
Fri Jun 6 19:39:52 PDT 2025
Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,Jaddyen <ajaden at google.com>,Jaddyen
<ajaden at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/141158 at github.com>
================
@@ -20,4 +20,15 @@ def FormExpressionsPass : Pass<"form-expressions"> {
let dependentDialects = ["emitc::EmitCDialect"];
}
+def ConvertFuncToClassPass
+ : Pass<"convert-emitc-func-to-class", "mlir::emitc::FuncOp"> {
----------------
mtrofin wrote:
(super nitty) `WrapFuncInClassPass`? but if the style prefers `Convert` sgtm. Again, super-nitty.
https://github.com/llvm/llvm-project/pull/141158
More information about the Mlir-commits
mailing list