aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ValueTracking.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2023-06-27 11:37:05 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2023-06-27 11:43:08 +0100
commitab066bccf7dd6f43d878d4c88d828c7a2ad9ecc0 (patch)
treeb6a282e9a665a1ad6bfeae6cbdad0880a0d6ba43 /llvm/lib/Analysis/ValueTracking.cpp
parent173df3dd5f9a812b07f9866965f4e92a982a3fca (diff)
downloadllvm-ab066bccf7dd6f43d878d4c88d828c7a2ad9ecc0.zip
llvm-ab066bccf7dd6f43d878d4c88d828c7a2ad9ecc0.tar.gz
llvm-ab066bccf7dd6f43d878d4c88d828c7a2ad9ecc0.tar.bz2
Fix "the the" duplicate typo in comment. NFC.
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
-rw-r--r--llvm/lib/Analysis/ValueTracking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp
index 5931032..482cf64 100644
--- a/llvm/lib/Analysis/ValueTracking.cpp
+++ b/llvm/lib/Analysis/ValueTracking.cpp
@@ -2777,7 +2777,7 @@ bool isKnownNonZero(const Value *V, const APInt &DemandedElts, unsigned Depth,
// If there exists any subset of X (sX) and subset of Y (sY) s.t sX * sY is
// non-zero, then X * Y is non-zero. We can find sX and sY by just taking
- // the the lowest known One of X and Y. If they are non-zero, the result
+ // the lowest known One of X and Y. If they are non-zero, the result
// must be non-zero. We can check if LSB(X) * LSB(Y) != 0 by doing
// X.CountLeadingZeros + Y.CountLeadingZeros < BitWidth.
return (XKnown.countMaxTrailingZeros() + YKnown.countMaxTrailingZeros()) <