[PATCH] D131276: AMDGPU: Implicit kernel arguments related optimization when uniform-workgroup-size=true

Changpeng Fang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 5 23:46:37 PDT 2022


cfang updated this revision to Diff 450474.
cfang added a comment.

Do the pattern matching optimizations based on their existence with code object version.
Get code object version from amdhsa-code-object-version module flag. Note that now
I just declare a static function to do as a proof of concept because we don't know what is the default
code object version if the module flag does not exists. 
Also, it is beyond this work to get code object version from module flag everywhere in the compiler.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131276/new/

https://reviews.llvm.org/D131276

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131276.450474.patch
Type: text/x-patch
Size: 20806 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220806/a5f94f37/attachment.bin>


More information about the llvm-commits mailing list