[llvm] r254302 - Silencing a 32-bit to 64-bit implicit conversion warning; NFC.
Aaron Ballman via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 30 06:52:33 PST 2015
Author: aaronballman
Date: Mon Nov 30 08:52:33 2015
New Revision: 254302
URL: http://llvm.org/viewvc/llvm-project?rev=254302&view=rev
Log:
Silencing a 32-bit to 64-bit implicit conversion warning; NFC.
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=254302&r1=254301&r2=254302&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Mon Nov 30 08:52:33 2015
@@ -6431,7 +6431,7 @@ X86TargetLowering::LowerBUILD_VECTOR(SDV
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
More information about the llvm-commits
mailing list