summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-05-11 12:45:53 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-05-11 12:45:53 +0000
commit2a3aa1f2497dfa493d8d94b85510218385e2c03f (patch)
tree3cf70342678d276e983edf998ea93d91f9a9bf50
parent428447f625243c67c5eff8e65844beb9466308c1 (diff)
downloadbcm5719-llvm-2a3aa1f2497dfa493d8d94b85510218385e2c03f.tar.gz
bcm5719-llvm-2a3aa1f2497dfa493d8d94b85510218385e2c03f.zip
Silencing an MSVC warning: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?); NFC
llvm-svn: 236987
-rw-r--r--llvm/lib/Target/SystemZ/SystemZISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
index 99bf54c8345..24b5a41d7f6 100644
--- a/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
@@ -3796,7 +3796,7 @@ static bool tryBuildVectorByteMask(BuildVectorSDNode *BVN, uint64_t &Mask) {
for (unsigned J = 0; J < BytesPerElement; ++J) {
uint64_t Byte = (Value >> (J * 8)) & 0xff;
if (Byte == 0xff)
- Mask |= 1 << ((E - I - 1) * BytesPerElement + J);
+ Mask |= 1ULL << ((E - I - 1) * BytesPerElement + J);
else if (Byte != 0)
return false;
}
OpenPOWER on IntegriCloud