[PATCH] D135260: [AMDGPU][AMDGPULowerKernelAttributes] Use stripAndAccumulateConstantOffset

Juan Manuel Martinez CaamaƱo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 5 05:33:40 PDT 2022


jmmartinez created this revision.
Herald added subscribers: kosarev, foad, jdoerfert, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, jvesely, kzhuravl, arsenm.
Herald added a project: All.
jmmartinez requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

This removes the need to handle explicitely the presence or absence of bitcasts when typed pointers are used. It also takes into account the case where we have more than one use of load(call @llvm.amdgc.implicitarg.ptr())


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135260

Files:
  llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135260.465352.patch
Type: text/x-patch
Size: 4343 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221005/c0609a0d/attachment.bin>


More information about the llvm-commits mailing list