aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopPeel.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-08-07 23:55:23 -0700
committerKazu Hirata <kazu@google.com>2022-08-07 23:55:24 -0700
commit0e37ef0186acf071994ea80dde788c397822ed72 (patch)
treef031d2247568045cb5bedb6ae0f5f0a2d1af48bf /llvm/lib/Transforms/Utils/LoopPeel.cpp
parentd3651aa697c6a099768ffdde3f3c26a42f113268 (diff)
downloadllvm-0e37ef0186acf071994ea80dde788c397822ed72.zip
llvm-0e37ef0186acf071994ea80dde788c397822ed72.tar.gz
llvm-0e37ef0186acf071994ea80dde788c397822ed72.tar.bz2
[Transforms] Fix comment typos (NFC)
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopPeel.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/LoopPeel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopPeel.cpp b/llvm/lib/Transforms/Utils/LoopPeel.cpp
index 9a7f9df..3ccb766 100644
--- a/llvm/lib/Transforms/Utils/LoopPeel.cpp
+++ b/llvm/lib/Transforms/Utils/LoopPeel.cpp
@@ -331,7 +331,7 @@ static unsigned countToEliminateCompares(Loop &L, unsigned MaxPeelCount,
/// This "heuristic" exactly matches implicit behavior which used to exist
/// inside getLoopEstimatedTripCount. It was added here to keep an
-/// improvement inside that API from causing peeling to become more agressive.
+/// improvement inside that API from causing peeling to become more aggressive.
/// This should probably be removed.
static bool violatesLegacyMultiExitLoopCheck(Loop *L) {
BasicBlock *Latch = L->getLoopLatch();