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
This commit is contained in:
Aaron Ballman 2014-08-20 12:14:35 +00:00
parent e04455d72b
commit 0e9c68e6bc

View File

@ -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);