Offsets can be negative, of course.
This is in preparation for a follow up patch to improve the AArch64 load/store optimization pass. I plan on adding unscaled loads to getMemOpBaseRegImmOfs() so the MI scheduler clusters loads to improve pairing. In AArch64 unscaled loads/stores are used for negatives offsets.
Please have a look.
Chad
I think this should be changed to int64_t to be consistent with other offsets everywhere else