[PATCH] D86706: [LLD][PowerPC] Add pc-rel based long branch thunks

Victor Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 06:17:42 PDT 2020


NeHuang created this revision.
NeHuang added reviewers: hfinkel, MaskRay, nemanjai, Sean, stefanp, power-llvm-team.
NeHuang added a project: LLVM.
Herald added subscribers: llvm-commits, shchenz, arichardson, emaste.
Herald added a reviewer: espindola.
NeHuang requested review of this revision.

In this patch, PC-Rel based long branch thunks are added for the local call protocol that caller and callee does not use TOC.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D86706

Files:
  lld/ELF/Thunks.cpp
  lld/test/ELF/ppc64-pcrel-long-branch-error.s
  lld/test/ELF/ppc64-pcrel-long-branch-pi.s
  lld/test/ELF/ppc64-pcrel-long-branch.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86706.288304.patch
Type: text/x-patch
Size: 12744 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200827/69f4648b/attachment.bin>


More information about the llvm-commits mailing list