[llvm] cfe9768 - [NFC][LoopUtils] Minor change in comment according to review D71990.
Evgeniy Brevnov via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 20 02:10:39 PST 2020
Author: Evgeniy Brevnov
Date: 2020-01-20T17:10:10+07:00
New Revision: cfe97681cdbf8c8c23caad80adeb6551911ccd6e
URL: https://github.com/llvm/llvm-project/commit/cfe97681cdbf8c8c23caad80adeb6551911ccd6e
DIFF: https://github.com/llvm/llvm-project/commit/cfe97681cdbf8c8c23caad80adeb6551911ccd6e.diff
LOG: [NFC][LoopUtils] Minor change in comment according to review D71990.
Added:
Modified:
llvm/lib/Transforms/Utils/LoopUtils.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Utils/LoopUtils.cpp b/llvm/lib/Transforms/Utils/LoopUtils.cpp
index 98e4ca5ed6ba..c9de4340cb29 100644
--- a/llvm/lib/Transforms/Utils/LoopUtils.cpp
+++ b/llvm/lib/Transforms/Utils/LoopUtils.cpp
@@ -727,7 +727,7 @@ Optional<unsigned> llvm::getLoopEstimatedTripCount(Loop *L) {
return None;
// Estimated backedge taken count is a ratio of the backedge taken weight by
- // the the edge exiting weight, rounded to nearest.
+ // the weight of the edge exiting the loop, rounded to nearest.
uint64_t BackedgeTakenCount =
llvm::divideNearest(BackedgeTakenWeight, LatchExitWeight);
// Estimated trip count is one plus estimated backedge taken count.
More information about the llvm-commits
mailing list