Skip to content

Commit da17850

Browse files
committed
[ValueTracking] Fix compilation error
1 parent 2183f59 commit da17850

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Analysis/ValueTracking.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3044,8 +3044,8 @@ static bool isKnownNonZeroFromOperator(const Operator *I,
30443044
if (matchOpWithOpEqZero(I->getOperand(0), I->getOperand(1)))
30453045
return true;
30463046
// X | Y != 0 if X != Y.
3047-
if (isKnownNonEqual(I->getOperand(0), I->getOperand(1), DemandedElts, Depth,
3048-
Q))
3047+
if (isKnownNonEqual(I->getOperand(0), I->getOperand(1), DemandedElts, Q,
3048+
Depth))
30493049
return true;
30503050
// X | Y != 0 if X != 0 or Y != 0.
30513051
return isKnownNonZero(I->getOperand(1), DemandedElts, Q, Depth) ||

0 commit comments

Comments
 (0)