[PATCH] D84360: [LLD][PowerPC] Implement GOT to PC-Rel relaxation

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 13 09:32:45 PDT 2020


sfertile added a comment.

In D84360#2215944 <https://reviews.llvm.org/D84360#2215944>, @nemanjai wrote:

> But that's what `check_LD_STD_W_PADDI` does. Do you mean that I should add checks for the actual values?

`check_LD_STD_W_PADDI` uses paddi referencing the got-entry of the symbol (`sym at got@pcrel`), My suggestion is for referencing a symbol pcrel (`sym at pcrel`) combined with a load/store with offset.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84360



More information about the llvm-commits mailing list