Skip to content

Commit

Permalink
[mlir][scf] Fix typo of epilogue
Browse files Browse the repository at this point in the history
  • Loading branch information
CoTinker committed Feb 25, 2025
1 parent dff2ca4 commit b4da4ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mlir/include/mlir/Dialect/SCF/Utils/Utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ struct UnrolledLoopInfo {
};

/// Unrolls this for operation by the specified unroll factor. Returns the
/// unrolled main loop and the eplilog loop, if the loop is unrolled. Otherwise
/// unrolled main loop and the epilogue loop, if the loop is unrolled. Otherwise
/// returns failure if the loop cannot be unrolled either due to restrictions or
/// due to invalid unroll factors. Requires positive loop bounds and step. If
/// specified, annotates the Ops in each unrolled iteration by applying
Expand Down
2 changes: 1 addition & 1 deletion mlir/lib/Dialect/SCF/Utils/Utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ static void generateUnrolledLoop(
}

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

0 comments on commit b4da4ab

Please sign in to comment.