From f6964a7df956a742ad1f6611923f755100b33f80 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Thu, 14 Aug 2014 13:43:57 +0000 Subject: [PATCH] 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@215642 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AArch64/AArch64FastISel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/AArch64/AArch64FastISel.cpp b/lib/Target/AArch64/AArch64FastISel.cpp index adcb64d191c..58a4fd16b61 100644 --- a/lib/Target/AArch64/AArch64FastISel.cpp +++ b/lib/Target/AArch64/AArch64FastISel.cpp @@ -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); -- 2.34.1