Silencing an MSVC C4334 warning ('<<' : result of 32-bit shift implicitly converted...
authorAaron Ballman <aaron@aaronballman.com>
Thu, 14 Aug 2014 13:43:57 +0000 (13:43 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 14 Aug 2014 13:43:57 +0000 (13:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215642 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AArch64/AArch64FastISel.cpp

index adcb64d191c984a114f74e26853773f8be8b36d5..58a4fd16b61802e7f0b521592b735f3da10475ea 100644 (file)
@@ -487,7 +487,7 @@ bool AArch64FastISel::ComputeAddress(const Value *Obj, Address &Addr, Type *Ty)
           NumBytes = 0;
       }
 
-      if (NumBytes != (1U << Val))
+      if (NumBytes != (1ULL << Val))
         break;
 
       Addr.setShift(Val);