Skip to content

Commit 7e11ef1

Browse files
authored
[mlir][scf] Fix typo of epilogue(NFC) (#128707)
1 parent 0065343 commit 7e11ef1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mlir/include/mlir/Dialect/SCF/Utils/Utils.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ struct UnrolledLoopInfo {
117117
};
118118

119119
/// Unrolls this for operation by the specified unroll factor. Returns the
120-
/// unrolled main loop and the eplilog loop, if the loop is unrolled. Otherwise
120+
/// unrolled main loop and the epilogue loop, if the loop is unrolled. Otherwise
121121
/// returns failure if the loop cannot be unrolled either due to restrictions or
122122
/// due to invalid unroll factors. Requires positive loop bounds and step. If
123123
/// specified, annotates the Ops in each unrolled iteration by applying

mlir/lib/Dialect/SCF/Utils/Utils.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ static void generateUnrolledLoop(
374374
}
375375

376376
/// Unrolls 'forOp' by 'unrollFactor', returns the unrolled main loop and the
377-
/// eplilog loop, if the loop is unrolled.
377+
/// epilogue loop, if the loop is unrolled.
378378
FailureOr<UnrolledLoopInfo> mlir::loopUnrollByFactor(
379379
scf::ForOp forOp, uint64_t unrollFactor,
380380
function_ref<void(unsigned, Operation *, OpBuilder)> annotateFn) {

0 commit comments

Comments
 (0)