[PATCH] D76263: AMDGPU: Initial, crude support for indirect calls

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 16 19:08:02 PDT 2020


arsenm created this revision.
arsenm added reviewers: rampitec, sameerds, kerbowa, JonChesterfield.
Herald added subscribers: hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.

This isn't really usable, and requires using the
-amdgpu-fixed-function-abi flag to work.

      

Assumes a uniform call target, and will hit a verifier error if the
call target ends up in a VGPR. Also doesn't attempt to do anything
sensible for the reported register/stack usage.


https://reviews.llvm.org/D76263

Files:
  llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h
  llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/lib/Target/AMDGPU/SIInstructions.td
  llvm/test/CodeGen/AMDGPU/indirect-call.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76263.250674.patch
Type: text/x-patch
Size: 16342 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200317/8fa20f9d/attachment-0001.bin>


More information about the llvm-commits mailing list