[PATCH] D79864: [PowerPC] Add linker opt for PC Relative GOT indirect accesses
Stefan Pintilie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 26 03:46:03 PDT 2020
stefanp updated this revision to Diff 273647.
stefanp added a comment.
Address review comments.
Mainly reworked two functions: `isPartOfGOTToPCRelPair` and `addLinkerOpt`.
Unfortunately I was not able to move `isPartOfGOTToPCRelPair` out of `PPCELFStreamer` because I was not able to find a good place for it.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79864/new/
https://reviews.llvm.org/D79864
Files:
llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFStreamer.cpp
llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFStreamer.h
llvm/lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
llvm/lib/Target/PowerPC/PPC.h
llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
llvm/lib/Target/PowerPC/PPCMCInstLower.cpp
llvm/lib/Target/PowerPC/PPCPreEmitPeephole.cpp
llvm/test/CodeGen/PowerPC/pcrel-call-linkage-with-calls.ll
llvm/test/CodeGen/PowerPC/pcrel-got-indirect.ll
llvm/test/CodeGen/PowerPC/pcrel-linkeropt.ll
llvm/test/CodeGen/PowerPC/pcrel-relocation-plus-offset.ll
llvm/test/CodeGen/PowerPC/pcrel-tail-calls.ll
llvm/test/CodeGen/PowerPC/pcrel.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79864.273647.patch
Type: text/x-patch
Size: 41410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200626/53322f53/attachment.bin>
More information about the llvm-commits
mailing list