[SystemZ] Add range checks for PC-relative fixups.
The AsmParser checks the range of a PC-relative operand, but only if it is immediate. This patch adds range checks for operands in applyFixup(), at which point the offset to a label is known. The diagnostic message for an operand that is out of range is explicit (with given value and min/max limits). This is now also done for displacement fixups. Review: Ulrich Weigand Differential Revision: https://reviews.llvm.org/D114194
Loading
Please sign in to comment