[Mlir-commits] [mlir] [AffineParallelize] expose options when creating pass (PR #124959)

Diego Caballero llvmlistbot at llvm.org
Wed Jan 29 17:08:03 PST 2025


================
@@ -95,3 +103,9 @@ std::unique_ptr<OperationPass<func::FuncOp>>
 mlir::affine::createAffineParallelizePass() {
   return std::make_unique<AffineParallelize>();
 }
+
+std::unique_ptr<OperationPass<func::FuncOp>>
+mlir::affine::createAffineParallelizePass(
----------------
dcaballe wrote:

There is also a way to have this auto-generated. I think if you go to `Affine/Passes.td` and remove the line `  let constructor = "mlir::affine::createAffineParallelizePass()";`, tablegen should generate the respective `createAffineParallelizePass` constructors.

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


More information about the Mlir-commits mailing list