[llvm] r187727 - Silencing an MSVC11 type conversion warning.
Aaron Ballman
aaron at aaronballman.com
Mon Aug 5 06:47:03 PDT 2013
Author: aaronballman
Date: Mon Aug 5 08:47:03 2013
New Revision: 187727
URL: http://llvm.org/viewvc/llvm-project?rev=187727&view=rev
Log:
Silencing an MSVC11 type conversion warning.
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=187727&r1=187726&r2=187727&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Mon Aug 5 08:47:03 2013
@@ -5642,7 +5642,7 @@ X86TargetLowering::LowerBUILD_VECTORvXi1
break;
}
if (cast<ConstantSDNode>(In)->getZExtValue())
- Immediate |= (1 << idx);
+ Immediate |= (1ULL << idx);
}
if (AllContants) {
More information about the llvm-commits
mailing list