[PATCH] D154899: [SystemZ] Allow symbols in immediate asm operands

Ulrich Weigand via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 20 07:26:52 PDT 2023


uweigand added a comment.

In D154899#4518775 <https://reviews.llvm.org/D154899#4518775>, @iii wrote:

> I've added pc-relative tests, but only for PC32. For PC32DBL I tried (src-.)/2, but the common code does not recognize division as a relocatable expression, and does not let the backend to handle it either. GAS does not handle it either though, so it's probably fine:

Agreed, I think this is fine.   The DBL relocations really are intended for the LARL-type instructions, where the /2 is implicit.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154899



More information about the llvm-commits mailing list