From: Aaron Ballman Date: Wed, 20 Aug 2014 12:14:35 +0000 (+0000) Subject: Silencing an MSVC C4334 warning ('<<' : result of 32-bit shift implicitly converted... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0e9c68e6bc8768143308b0162e900ba8bd10dc01;p=oota-llvm.git Silencing an MSVC C4334 warning ('<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)). NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216067 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AArch64/AArch64FastISel.cpp b/lib/Target/AArch64/AArch64FastISel.cpp index 90c509d4ce0..7320bb89dc4 100644 --- a/lib/Target/AArch64/AArch64FastISel.cpp +++ b/lib/Target/AArch64/AArch64FastISel.cpp @@ -528,7 +528,7 @@ bool AArch64FastISel::ComputeAddress(const Value *Obj, Address &Addr, Type *Ty) NumBytes = 0; } - if (NumBytes != (1UL << Val)) + if (NumBytes != (1ULL << Val)) break; Addr.setShift(Val);