From edc658d68649cf84c8b1f4bddf8e32564568746b Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Tue, 2 Sep 2014 12:19:02 +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@216902 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AArch64/AArch64ISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/AArch64/AArch64ISelLowering.cpp b/lib/Target/AArch64/AArch64ISelLowering.cpp index 5357b7228bd..5c7bfd8ebe2 100644 --- a/lib/Target/AArch64/AArch64ISelLowering.cpp +++ b/lib/Target/AArch64/AArch64ISelLowering.cpp @@ -7940,7 +7940,7 @@ bool checkValueWidth(SDValue V, unsigned width, ISD::LoadExtType &ExtType) { case ISD::Constant: case ISD::TargetConstant: { if (std::abs(cast(V.getNode())->getSExtValue()) < - 1 << (width - 1)) + 1LL << (width - 1)) return true; return false; }