[Mlir-commits] [mlir] [mlir][scf] add unroll-full option to test-loop-unrolling pass. (PR #127158)

lonely eagle llvmlistbot at llvm.org
Mon Feb 17 23:37:45 PST 2025


================
@@ -77,6 +82,9 @@ struct TestLoopUnrollingPass
                                 llvm::cl::init(false)};
   Option<unsigned> loopDepth{*this, "loop-depth", llvm::cl::desc("Loop depth."),
                              llvm::cl::init(0)};
+  Option<bool> unrollFull{*this, "unroll-full",
+                          llvm::cl::desc("Full unroll loops."),
+                          llvm::cl::init(false)};
----------------
linuxlonelyeagle wrote:

For now, since `affine-loop-unroll` and `affine-loop-unroll-jam` also have this option, it's not too late to change it when it's not a test pass.

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


More information about the Mlir-commits mailing list