[PATCH] D113341: [SystemZ] Support symbolic displacements.

Jonas Paulsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 12 06:25:45 PST 2021


jonpa added inline comments.


================
Comment at: llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp:145
     Value &= ((uint64_t)1 << BitSize) - 1;
+  if (Kind == (MCFixupKind)SystemZ::FK_390_20) {
+    // The high byte of a 20 bit displacement value comes first.
----------------
Is it right to truncate a Disp20 (and not Disp12), or maybe it doesn't matter?



CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113341/new/

https://reviews.llvm.org/D113341



More information about the llvm-commits mailing list