summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2016-03-30 21:30:00 +0000
committerAaron Ballman <aaron@aaronballman.com>2016-03-30 21:30:00 +0000
commitef0fe1eed827ba8f9c6d76200821dc24ec6f038f (patch)
tree13991a9058526c1d5989e5c1ce9a1d2a4a6a50b4 /llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
parent46ba31650e9eb5f95990adc240c7d1e925c57381 (diff)
downloadbcm5719-llvm-ef0fe1eed827ba8f9c6d76200821dc24ec6f038f.tar.gz
bcm5719-llvm-ef0fe1eed827ba8f9c6d76200821dc24ec6f038f.zip
Silencing warnings from MSVC 2015 Update 2. All of these changes silence "C4334 '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)". NFC.
llvm-svn: 264929
Diffstat (limited to 'llvm/lib/Target/ARM/ARMConstantIslandPass.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMConstantIslandPass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
index 25fabca4ab9..bac4f876f01 100644
--- a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
+++ b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
@@ -1124,7 +1124,7 @@ bool ARMConstantIslands::isWaterInRange(unsigned UserOffset,
Growth = CPEEnd - NextBlockOffset;
// Compute the padding that would go at the end of the CPE to align the next
// block.
- Growth += OffsetToAlignment(CPEEnd, 1u << NextBlockAlignment);
+ Growth += OffsetToAlignment(CPEEnd, 1ULL << NextBlockAlignment);
// If the CPE is to be inserted before the instruction, that will raise
// the offset of the instruction. Also account for unknown alignment padding
OpenPOWER on IntegriCloud