File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1429,7 +1429,7 @@ static void computeKnownBitsFromOperator(const Operator *I,
14291429 unsigned IndexWidth = Q.DL .getIndexTypeSizeInBits (I->getType ());
14301430 APInt AccConstIndices (IndexWidth, 0 );
14311431
1432- auto AddIndex = [&](KnownBits IndexBits) {
1432+ auto AddIndexToKnown = [&](KnownBits IndexBits) {
14331433 if (IndexWidth == BitWidth) {
14341434 // Note that inbounds does *not* guarantee nsw for the addition, as only
14351435 // the offset is signed, while the base address is unsigned.
@@ -1503,10 +1503,10 @@ static void computeKnownBitsFromOperator(const Operator *I,
15031503 ScalingFactor =
15041504 KnownBits::makeConstant (APInt (IndexWidth, StrideInBytes));
15051505 }
1506- AddIndex (KnownBits::mul (IndexBits, ScalingFactor));
1506+ AddIndexToKnown (KnownBits::mul (IndexBits, ScalingFactor));
15071507 }
15081508 if (!Known.isUnknown () && !AccConstIndices.isZero ())
1509- AddIndex (KnownBits::makeConstant (AccConstIndices));
1509+ AddIndexToKnown (KnownBits::makeConstant (AccConstIndices));
15101510 break ;
15111511 }
15121512 case Instruction::PHI: {
You can’t perform that action at this time.
0 commit comments