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 5dff1ad commit 4be22daCopy full SHA for 4be22da
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