Skip to content

Commit 78e35e4

Browse files
authored
[ValueTracking] Fix typo in isKnownNegative and MaskedValueIsZero NFC. (#118438)
Fix typos introduced by d9e8ae7 and 42b6c8e.
1 parent 59bb9b9 commit 78e35e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/Analysis/ValueTracking.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ bool isKnownPositive(const Value *V, const SimplifyQuery &SQ,
159159

160160
/// Returns true if the given value is known be negative (i.e. non-positive
161161
/// and non-zero).
162-
bool isKnownNegative(const Value *V, const SimplifyQuery &DL,
162+
bool isKnownNegative(const Value *V, const SimplifyQuery &SQ,
163163
unsigned Depth = 0);
164164

165165
/// Return true if the given values are known to be non-equal when defined.
@@ -180,7 +180,7 @@ bool isKnownNonEqual(const Value *V1, const Value *V2, const DataLayout &DL,
180180
/// same width as the vector element, and the bit is set only if it is true
181181
/// for all of the elements in the vector.
182182
bool MaskedValueIsZero(const Value *V, const APInt &Mask,
183-
const SimplifyQuery &DL, unsigned Depth = 0);
183+
const SimplifyQuery &SQ, unsigned Depth = 0);
184184

185185
/// Return the number of times the sign bit of the register is replicated into
186186
/// the other bits. We know that at least 1 bit is always equal to the sign

0 commit comments

Comments
 (0)