Skip to content

Commit a7a9122

Browse files
author
git apple-llvm automerger
committed
Merge commit '4be22dabc580' from llvm.org/main into next
2 parents ee67a2d + 4be22da commit a7a9122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/TargetLoweringBase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ unsigned TargetLoweringBase::getBitWidthForCttzElements(
10081008
CR = CR.subtract(APInt(64, 1));
10091009

10101010
unsigned EltWidth = RetTy->getScalarSizeInBits();
1011-
EltWidth = std::min(EltWidth, (unsigned)CR.getActiveBits());
1011+
EltWidth = std::min(EltWidth, CR.getActiveBits());
10121012
EltWidth = std::max(llvm::bit_ceil(EltWidth), (unsigned)8);
10131013

10141014
return EltWidth;

0 commit comments

Comments
 (0)