[PATCH] D57416: [AMDGPU] Support emitting GOT relocations for function calls

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 31 13:54:30 PST 2019


scott.linder updated this revision to Diff 184603.
scott.linder added a comment.

I've tried to implement carrying a copy of the function global through the DAG from the beginning, rather than recovering it after legalizing the GlobalAddress. I don't know if this is a reasonable approach, but I figured I would post something and see what you think.


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

https://reviews.llvm.org/D57416

Files:
  lib/Target/AMDGPU/AMDGPUInstrInfo.td
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIInstructions.td
  test/CodeGen/AMDGPU/byval-frame-setup.ll
  test/CodeGen/AMDGPU/call-argument-types.ll
  test/CodeGen/AMDGPU/call-constexpr.ll
  test/CodeGen/AMDGPU/call-preserved-registers.ll
  test/CodeGen/AMDGPU/cross-block-use-is-not-abi-copy.ll
  test/CodeGen/AMDGPU/function-call-relocs.ll
  test/CodeGen/AMDGPU/ipra.ll
  test/CodeGen/AMDGPU/mem-builtins.ll
  test/CodeGen/AMDGPU/sibling-call.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57416.184603.patch
Type: text/x-patch
Size: 20066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190131/73ee92e7/attachment.bin>


More information about the llvm-commits mailing list