[PATCH] D117484: AMDGPU/GlobalISel: Handle legacy grid ID intrinsics

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 17 06:46:01 PST 2022


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

Handle the llvm.r600.* intrinsics which are still in use in libclc. I
thought it would be possible to switch it to using
llvm.amdgcn.implicitarg.ptr already, but it turns out the implicit
arguments are currently split into a piece before and after the
explicit kernel arguments.


https://reviews.llvm.org/D117484

Files:
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
  llvm/test/CodeGen/AMDGPU/amdgpu.work-item-intrinsics.deprecated.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117484.400530.patch
Type: text/x-patch
Size: 5864 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220117/263285b8/attachment.bin>


More information about the llvm-commits mailing list