Skip to content

Commit a5567a2

Browse files
committed
[ValueTracking] Fix depth
1 parent 5751edb commit a5567a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Analysis/ValueTracking.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,7 @@ static void computeKnownBitsFromOperator(const Operator *I,
15941594
computeKnownBits(IncValue, DemandedElts, Known2, IncDepth, RecQ);
15951595
if (IncCond)
15961596
adjustKnownBitsForSelectArm(Known2, IncCond, IncValue, InvertIncCond,
1597-
Depth, RecQ);
1597+
IncDepth, RecQ);
15981598

15991599
// See if we can further use a conditional branch into the phi
16001600
// to help us determine the range of the value.

0 commit comments

Comments
 (0)