[Mlir-commits] [mlir] [mlir][affine] Add unroll-factor description for loop unroll pass (PR #172791)
Jakub Kuderski
llvmlistbot at llvm.org
Mon Dec 29 10:06:05 PST 2025
================
@@ -204,7 +204,8 @@ def AffineLoopUnroll : InterfacePass<"affine-loop-unroll", "FunctionOpInterface"
let constructor = "mlir::affine::createLoopUnrollPass()";
let options = [
Option<"unrollFactor", "unroll-factor", "int64_t", /*default=*/"4",
- "Use this unroll factor for all loops being unrolled">,
+ "Use this unroll factor for all loops being unrolled, "
+ "set it to -1, and it will fully unroll.">,
----------------
kuhar wrote:
Thanks!
https://github.com/llvm/llvm-project/pull/172791
More information about the Mlir-commits
mailing list