[PATCH] D79864: [PowerPC] Add new linker optimization for PowerPC

Stefan Pintilie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 28 10:57:09 PDT 2020


stefanp added a comment.

In D79864#2058355 <https://reviews.llvm.org/D79864#2058355>, @efriedma wrote:

> > Which will eventually turn it into this by the linker (if we don't actually need to go through the GOT):
> > 
> >   plwa 3, vec at got@pcrel+4(0), 1
> >   nop
>
> Which instruction gets replaced by a nop, the pld or the lwa?


The `pld` is replaced by the `plwa` and the `lwa` is replaced by the `nop`.


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

https://reviews.llvm.org/D79864





More information about the llvm-commits mailing list