From: Aaron Ballman Date: Tue, 2 Sep 2014 12:19:02 +0000 (+0000) Subject: Silencing an MSVC C4334 warning ('<<' : result of 32-bit shift implicitly converted... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=edc658d68649cf84c8b1f4bddf8e32564568746b;p=oota-llvm.git 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 --- 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; }