File tree 1 file changed +2
-9
lines changed
mlir/include/mlir/Dialect/SCF/Utils 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -127,15 +127,8 @@ LogicalResult loopUnrollByFactor(
127
127
// / for operations with results are not supported.
128
128
LogicalResult loopUnrollJamByFactor (scf::ForOp forOp, uint64_t unrollFactor);
129
129
130
- // / Transform a loop with a strictly positive step
131
- // / for %i = %lb to %ub step %s
132
- // / into a 0-based loop with step 1
133
- // / for %ii = 0 to ceildiv(%ub - %lb, %s) step 1 {
134
- // / %i = %ii * %s + %lb
135
- // / Insert the induction variable remapping in the body of `inner`, which is
136
- // / expected to be either `loop` or another loop perfectly nested under `loop`.
137
- // / Insert the definition of new bounds immediate before `outer`, which is
138
- // / expected to be either `loop` or its parent in the loop nest.
130
+ // / Materialize bounds and step of a zero-based and unit-step loop derived by
131
+ // / normalizing the specified bounds and step.
139
132
Range emitNormalizedLoopBounds (RewriterBase &rewriter, Location loc,
140
133
OpFoldResult lb, OpFoldResult ub,
141
134
OpFoldResult step);
You can’t perform that action at this time.
0 commit comments