forked from OSchip/llvm-project
Silencing an MSVC C4334 warning ('<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)). NFC.
llvm-svn: 215642
This commit is contained in:
parent
893beb96a2
commit
61acc22129
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue