mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 04:17:17 +08:00
[JITLink] Fix warning 'shift count exceeds width' in AArch64 backend
This commit is contained in:
@@ -66,7 +66,7 @@ private:
|
||||
}
|
||||
|
||||
template <uint8_t Bits> static bool fitsRangeSignedInt(int64_t Value) {
|
||||
return Value >= -(1 << Bits) && Value < (1 << Bits);
|
||||
return Value >= -(1ll << Bits) && Value < (1ll << Bits);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user