[Mlir-commits] [mlir] 7e11ef1 - [mlir][scf] Fix typo of `epilogue`(NFC) (#128707)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Feb 28 14:32:41 PST 2025


Author: Longsheng Mou
Date: 2025-02-28T23:32:37+01:00
New Revision: 7e11ef170edccfe5ff85ce4756b58adf9e3455ba

URL: https://github.com/llvm/llvm-project/commit/7e11ef170edccfe5ff85ce4756b58adf9e3455ba
DIFF: https://github.com/llvm/llvm-project/commit/7e11ef170edccfe5ff85ce4756b58adf9e3455ba.diff

LOG: [mlir][scf] Fix typo of `epilogue`(NFC) (#128707)

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/SCF/Utils/Utils.h
    mlir/lib/Dialect/SCF/Utils/Utils.cpp

Removed: 
    


################################################################################
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<UnrolledLoopInfo> mlir::loopUnrollByFactor(
     scf::ForOp forOp, uint64_t unrollFactor,
     function_ref<void(unsigned, Operation *, OpBuilder)> annotateFn) {


        


More information about the Mlir-commits mailing list