git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245661
91177308-0d34-0410-b5e6-
96231b3b80d8
int64_t RawImmValue = IsImm ? MCValOp.getImm() : 0;
// Allow either a signed or unsigned 32-bit immediate.
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;
}
Error(IDLoc, "set: argument must be between -2147483648 and 4294967295");
return;
}