[Mlir-commits] [mlir] [mlir][scf] Fix typo of `epilogue`(NFC) (PR #128707)
Longsheng Mou
llvmlistbot at llvm.org
Tue Feb 25 04:43:33 PST 2025
https://github.com/CoTinker created https://github.com/llvm/llvm-project/pull/128707
None
>From b4da4aba13107a08de589efd53de57f50cd5dc4c Mon Sep 17 00:00:00 2001
From: Longsheng Mou <longshengmou at gmail.com>
Date: Tue, 25 Feb 2025 20:33:51 +0800
Subject: [PATCH] [mlir][scf] Fix typo of `epilogue`
---
mlir/include/mlir/Dialect/SCF/Utils/Utils.h | 2 +-
mlir/lib/Dialect/SCF/Utils/Utils.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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