[llvm] r216067 - Silencing an MSVC C4334 warning ('<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)). NFC.
Aaron Ballman
aaron at aaronballman.com
Wed Aug 20 05:14:35 PDT 2014
Author: aaronballman
Date: Wed Aug 20 07:14:35 2014
New Revision: 216067
URL: http://llvm.org/viewvc/llvm-project?rev=216067&view=rev
Log:
Silencing an MSVC C4334 warning ('<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)). NFC.
Modified:
llvm/trunk/lib/Target/AArch64/AArch64FastISel.cpp
Modified: llvm/trunk/lib/Target/AArch64/AArch64FastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64FastISel.cpp?rev=216067&r1=216066&r2=216067&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64FastISel.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64FastISel.cpp Wed Aug 20 07:14:35 2014
@@ -528,7 +528,7 @@ bool AArch64FastISel::ComputeAddress(con
NumBytes = 0;
}
- if (NumBytes != (1UL << Val))
+ if (NumBytes != (1ULL << Val))
break;
Addr.setShift(Val);
More information about the llvm-commits
mailing list