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.
2 parents ee67a2d + 4be22da commit a7a9122Copy full SHA for a7a9122
llvm/lib/CodeGen/TargetLoweringBase.cpp
@@ -1008,7 +1008,7 @@ unsigned TargetLoweringBase::getBitWidthForCttzElements(
1008
CR = CR.subtract(APInt(64, 1));
1009
1010
unsigned EltWidth = RetTy->getScalarSizeInBits();
1011
- EltWidth = std::min(EltWidth, (unsigned)CR.getActiveBits());
+ EltWidth = std::min(EltWidth, CR.getActiveBits());
1012
EltWidth = std::max(llvm::bit_ceil(EltWidth), (unsigned)8);
1013
1014
return EltWidth;
0 commit comments