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

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 27 09:39:09 PDT 2020


nemanjai updated this revision to Diff 280944.
nemanjai retitled this revision from "[WIP][LLD][PowerPC] Implement GOT to PC-Rel relaxation" to "[LLD][PowerPC] Implement GOT to PC-Rel relaxation".
nemanjai edited the summary of this revision.
nemanjai added reviewers: PowerPC, hfinkel.
nemanjai added a subscriber: NeHuang.
nemanjai added a comment.

Add test cases for all the different instructions - thanks for your help producing these @NeHuang.
Run clang-format on the patch since the pre-commit build flagged a bunch of issues.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84360

Files:
  lld/ELF/Arch/PPC64.cpp
  lld/ELF/InputSection.cpp
  lld/test/ELF/Inputs/ppc64-got-to-pcrel-relaxation-def.s
  lld/test/ELF/ppc64-got-to-pcrel-relaxation.s
  llvm/include/llvm/Target/PPCLegacyToPCRelMap.def
  llvm/lib/Target/PowerPC/PPCPreEmitPeephole.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84360.280944.patch
Type: text/x-patch
Size: 61590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200727/577317d3/attachment-0001.bin>


More information about the llvm-commits mailing list