Skip to content

Commit bf73b92

Browse files
committed
!fixup move to correct place
1 parent ceb8200 commit bf73b92

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3425,8 +3425,9 @@ Instruction *InstCombinerImpl::visitCallInst(CallInst &CI) {
34253425
// avoid computeKnownBits using the assumption we are about to remove
34263426
// for reasoning.
34273427
KnownBits Known = computeKnownBits(RK.WasOn, /*CtxI=*/nullptr);
3428-
unsigned TZ = std::min(Known.countMinTrailingZeros(), 63u);
3429-
if ((1ULL << std::min(TZ, Value::MaxAlignmentExponent)) < RK.ArgValue)
3428+
unsigned TZ = std::min(Known.countMinTrailingZeros(),
3429+
Value::MaxAlignmentExponent);
3430+
if ((1ULL << TZ) < RK.ArgValue)
34303431
continue;
34313432
return CallBase::removeOperandBundle(II, OBU.getTagID());
34323433
}

0 commit comments

Comments
 (0)