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

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 13 08:50:35 PDT 2020


nemanjai added a comment.

In D84360#2215915 <https://reviews.llvm.org/D84360#2215915>, @sfertile wrote:

> I believe we can have the optimization relocation on a code sequence like:
>
>   paddi ra, sym at pcrel
>   load/store rt, offset(ra)
>
> If so we should have a test showing we relocate it properly even if we don't optimize it yet.

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


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