[PATCH] D81126: [PowerPC] Fix for PC Relative call protocol

Stefan Pintilie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 29 03:44:41 PDT 2020


stefanp updated this revision to Diff 274038.
stefanp added a comment.

Reworked the body of `callsShareTOCBase` to check for PC Relative callees in all cases.
Also, added test cases for ifunc and aliased functions. For the ifunc case I just added test lines to an existing test file.


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

https://reviews.llvm.org/D81126

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/func-alias.ll
  llvm/test/CodeGen/PowerPC/ifunc.ll
  llvm/test/CodeGen/PowerPC/pcrel-local-caller-toc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81126.274038.patch
Type: text/x-patch
Size: 14448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200629/7ad97f04/attachment-0001.bin>


More information about the llvm-commits mailing list