[llvm] be95e16 - [NFC] Fix typos in LoopVersioningLICM.cpp (#116099)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 13 13:39:12 PST 2024
Author: AdityaK
Date: 2024-11-13T13:39:09-08:00
New Revision: be95e16d38724a78b6845868a06eb03db87e0a53
URL: https://github.com/llvm/llvm-project/commit/be95e16d38724a78b6845868a06eb03db87e0a53
DIFF: https://github.com/llvm/llvm-project/commit/be95e16d38724a78b6845868a06eb03db87e0a53.diff
LOG: [NFC] Fix typos in LoopVersioningLICM.cpp (#116099)
Added:
Modified:
llvm/lib/Transforms/Scalar/LoopVersioningLICM.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Scalar/LoopVersioningLICM.cpp b/llvm/lib/Transforms/Scalar/LoopVersioningLICM.cpp
index 87f75f99255575..f58dcb51f64fef 100644
--- a/llvm/lib/Transforms/Scalar/LoopVersioningLICM.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopVersioningLICM.cpp
@@ -207,14 +207,14 @@ bool LoopVersioningLICM::legalLoopStructure() {
}
// Loop depth more then LoopDepthThreshold are not allowed
if (CurLoop->getLoopDepth() > LoopDepthThreshold) {
- LLVM_DEBUG(dbgs() << " loop depth is more then threshold\n");
+ LLVM_DEBUG(dbgs() << " loop depth is more than threshold\n");
return false;
}
// We need to be able to compute the loop trip count in order
// to generate the bound checks.
const SCEV *ExitCount = SE->getBackedgeTakenCount(CurLoop);
if (isa<SCEVCouldNotCompute>(ExitCount)) {
- LLVM_DEBUG(dbgs() << " loop does not has trip count\n");
+ LLVM_DEBUG(dbgs() << " loop does not have trip count\n");
return false;
}
return true;
More information about the llvm-commits
mailing list