We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c102f64 commit bde2923Copy full SHA for bde2923
llvm/lib/Analysis/DemandedBits.cpp
@@ -81,7 +81,7 @@ void DemandedBits::determineLiveOperandBits(
81
return ShiftLeft ? Mask.shl(ShiftAmnt) : Mask.lshr(ShiftAmnt);
82
};
83
AB = APInt::getZero(BitWidth);
84
- uint8_t LoopRange = Max - Min;
+ unsigned LoopRange = Max - Min;
85
auto Mask = AOut;
86
for (unsigned ShiftAmnt = 1; ShiftAmnt <= LoopRange; ShiftAmnt <<= 1) {
87
APInt Shifted = ShiftF(Mask, ShiftAmnt);
0 commit comments