Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 0e9c68e

Browse files
committed
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
1 parent e04455d commit 0e9c68e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Target/AArch64/AArch64FastISel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ bool AArch64FastISel::ComputeAddress(const Value *Obj, Address &Addr, Type *Ty)
528528
NumBytes = 0;
529529
}
530530

531-
if (NumBytes != (1UL << Val))
531+
if (NumBytes != (1ULL << Val))
532532
break;
533533

534534
Addr.setShift(Val);

0 commit comments

Comments
 (0)