[PATCH] D134596: AMDGPU: Handle new address pattern in LowerKernelAttributes introduced by opaque pointers

Changpeng Fang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 24 17:55:11 PDT 2022


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

With opaque pointer support, the "ptr" type is introduced and thus BitCast is not necessary in some cases.
This work takes care of this change, and recognizes the new address patterns to do appropriate optimizations.


https://reviews.llvm.org/D134596

Files:
  llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
  llvm/test/CodeGen/AMDGPU/implicit-arg-v5-opt-opaque-ptr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134596.462694.patch
Type: text/x-patch
Size: 5992 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220925/d25c2141/attachment.bin>


More information about the llvm-commits mailing list