diff --git a/mlir/include/mlir/Dialect/SCF/Utils/Utils.h b/mlir/include/mlir/Dialect/SCF/Utils/Utils.h index c0c11c9e38994..e620067c15be9 100644 --- a/mlir/include/mlir/Dialect/SCF/Utils/Utils.h +++ b/mlir/include/mlir/Dialect/SCF/Utils/Utils.h @@ -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 diff --git a/mlir/lib/Dialect/SCF/Utils/Utils.cpp b/mlir/lib/Dialect/SCF/Utils/Utils.cpp index bc1cb24303ad2..19335255fd492 100644 --- a/mlir/lib/Dialect/SCF/Utils/Utils.cpp +++ b/mlir/lib/Dialect/SCF/Utils/Utils.cpp @@ -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 mlir::loopUnrollByFactor( scf::ForOp forOp, uint64_t unrollFactor, function_ref annotateFn) {