computeKnownBits(Op.getOperand(1), Known2, DemandedElts, Depth + 1);
KnownZeroLow = std::min(KnownZeroLow,
Known2.Zero.countTrailingOnes());
- Known.Zero.setBits(0, KnownZeroLow);
+ Known.Zero.setLowBits(KnownZeroLow);
break;
}
case ISD::UADDO:
break;
LLVM_FALLTHROUGH;
case X86ISD::SETCC:
- Known.Zero.setBits(1, BitWidth);
+ Known.Zero.setBitsFrom(1);
break;
case X86ISD::MOVMSK: {
unsigned NumLoBits = Op.getOperand(0).getValueType().getVectorNumElements();
- Known.Zero.setBits(NumLoBits, BitWidth);
+ Known.Zero.setBitsFrom(NumLoBits);
break;
}
case X86ISD::VSHLI:
DAG.computeKnownBits(N0, Known, DemandedSrcElts, Depth + 1);
Known.One = Known.One.zext(BitWidth);
Known.Zero = Known.Zero.zext(BitWidth);
- Known.Zero.setBits(InBitWidth, BitWidth);
+ Known.Zero.setBitsFrom(InBitWidth);
break;
}
}