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 ceb8200 commit bf73b92Copy full SHA for bf73b92
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
@@ -3425,8 +3425,9 @@ Instruction *InstCombinerImpl::visitCallInst(CallInst &CI) {
3425
// avoid computeKnownBits using the assumption we are about to remove
3426
// for reasoning.
3427
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)
+ unsigned TZ = std::min(Known.countMinTrailingZeros(),
+ Value::MaxAlignmentExponent);
3430
+ if ((1ULL << TZ) < RK.ArgValue)
3431
continue;
3432
return CallBase::removeOperandBundle(II, OBU.getTagID());
3433
}
0 commit comments