aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2013-08-05 13:47:03 +0000
committerAaron Ballman <aaron@aaronballman.com>2013-08-05 13:47:03 +0000
commit2a37c7e9e6059f7b5cfffce8917a49c0810d5a18 (patch)
tree44dd1b706b4c0056cf5ac7d86ce27ad0cfc6fc73
parent48d7d1d231cde758599fa0a010c29a174907c12f (diff)
downloadexternal_llvm-2a37c7e9e6059f7b5cfffce8917a49c0810d5a18.zip
external_llvm-2a37c7e9e6059f7b5cfffce8917a49c0810d5a18.tar.gz
external_llvm-2a37c7e9e6059f7b5cfffce8917a49c0810d5a18.tar.bz2
Silencing an MSVC11 type conversion warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187727 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index 90326cb..54063c5 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -5642,7 +5642,7 @@ X86TargetLowering::LowerBUILD_VECTORvXi1(SDValue Op, SelectionDAG &DAG) const {
break;
}
if (cast<ConstantSDNode>(In)->getZExtValue())
- Immediate |= (1 << idx);
+ Immediate |= (1ULL << idx);
}
if (AllContants) {