[PATCH] D106089: AMDGPU/GlobalISel: Redo kernel argument load handling

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 15 12:19:13 PDT 2021


arsenm created this revision.
arsenm added reviewers: foad, cdevadas, mbrkusanin, Petar.Avramovic.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, nhaehnle, jvesely, kzhuravl.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

This avoids relying on G_EXTRACT on unusual types, and also properly
decomposes structs into multiple registers. This also preserves the
LLTs in the memory operands.


https://reviews.llvm.org/D106089

Files:
  llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
  llvm/lib/Target/AMDGPU/AMDGPUCallLowering.h
  llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_kernel.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106089.359090.patch
Type: text/x-patch
Size: 71316 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210715/49134e88/attachment-0001.bin>


More information about the llvm-commits mailing list