[llvm] [NFC] Fix typos in LoopVersioningLICM.cpp (PR #116099)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 13 12:00:44 PST 2024
https://github.com/hiraditya created https://github.com/llvm/llvm-project/pull/116099
None
>From c190efe45cc82d2518645c77987203a7eed3a7ac Mon Sep 17 00:00:00 2001
From: AdityaK <hiraditya at msn.com>
Date: Wed, 13 Nov 2024 11:59:40 -0800
Subject: [PATCH] [NFC] Fix typos in LoopVersioningLICM.cpp
---
llvm/lib/Transforms/Scalar/LoopVersioningLICM.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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