[Mlir-commits] [mlir] [mlir][emitc] Update the `WrapFuncInClassPass` pass (PR #179184)

Jacques Pienaar llvmlistbot at llvm.org
Tue Feb 3 07:08:20 PST 2026


================
@@ -43,8 +43,8 @@ struct WrapFuncInClassPass
 
 class WrapFuncInClass : public OpRewritePattern<emitc::FuncOp> {
 public:
-  WrapFuncInClass(MLIRContext *context)
-      : OpRewritePattern<emitc::FuncOp>(context) {}
+  WrapFuncInClass(MLIRContext *context, StringRef fName)
----------------
jpienaar wrote:

Micro nit: s/fName/funcName/ (its a nicer signature IMHO and works equally well)

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


More information about the Mlir-commits mailing list