[llvm] r245661 - SparcAsmParser.cpp: Appease msc x86.
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 20 18:12:19 PDT 2015
Author: chapuni
Date: Thu Aug 20 20:12:19 2015
New Revision: 245661
URL: http://llvm.org/viewvc/llvm-project?rev=245661&view=rev
Log:
SparcAsmParser.cpp: Appease msc x86.
Modified:
llvm/trunk/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
Modified: llvm/trunk/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp?rev=245661&r1=245660&r2=245661&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp Thu Aug 20 20:12:19 2015
@@ -440,7 +440,7 @@ void SparcAsmParser::expandSET(MCInst &I
int64_t RawImmValue = IsImm ? MCValOp.getImm() : 0;
// Allow either a signed or unsigned 32-bit immediate.
- if (RawImmValue < -2147483648 || RawImmValue > 4294967295) {
+ if (RawImmValue < -2147483648LL || RawImmValue > 4294967295LL) {
Error(IDLoc, "set: argument must be between -2147483648 and 4294967295");
return;
}
More information about the llvm-commits
mailing list