[llvm] r215642 - 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
Thu Aug 14 06:43:58 PDT 2014
Author: aaronballman
Date: Thu Aug 14 08:43:57 2014
New Revision: 215642
URL: http://llvm.org/viewvc/llvm-project?rev=215642&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=215642&r1=215641&r2=215642&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64FastISel.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64FastISel.cpp Thu Aug 14 08:43:57 2014
@@ -487,7 +487,7 @@ bool AArch64FastISel::ComputeAddress(con
NumBytes = 0;
}
- if (NumBytes != (1U << Val))
+ if (NumBytes != (1ULL << Val))
break;
Addr.setShift(Val);
More information about the llvm-commits
mailing list