forked from OSchip/llvm-project
Silencing a 32-bit to 64-bit implicit conversion warning; NFC.
llvm-svn: 254302
This commit is contained in:
parent
4809b1dca1
commit
33c95f08b0
|
@ -6431,7 +6431,7 @@ X86TargetLowering::LowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG) const {
|
|||
SmallVector<SDValue, 8> V(NumElems);
|
||||
if (NumElems == 4 && NumZero > 0) {
|
||||
for (unsigned i = 0; i < 4; ++i) {
|
||||
bool isZero = !(NonZeros & (1 << i));
|
||||
bool isZero = !(NonZeros & (1ULL << i));
|
||||
if (isZero)
|
||||
V[i] = getZeroVector(VT, Subtarget, DAG, dl);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue