llvm-project/llvm/lib/Target/SystemZ/AsmParser
Ilya Leoshkevich 7070c6a96b [SystemZ] Accept (. - 0x100000000) PCRel32 constants
Clang does not accept instructions like brasl %r0,.-0x100000000,
because the second operand's right-hand-side (0x100000000) barely
misses the acceptable range. However, since it's being subtracted, it
makes sense to perform the range check on the negated value.

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D124780
2022-05-02 20:57:55 +02:00
..
CMakeLists.txt
SystemZAsmParser.cpp [SystemZ] Accept (. - 0x100000000) PCRel32 constants 2022-05-02 20:57:55 +02:00