[PATCH] D50200: AMDGPU: Handle "uniform-work-group-size" attribute

Aakanksha Patil via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 2 13:26:14 PDT 2018


aakanksha555 created this revision.
aakanksha555 added reviewers: arsenm, b-sumner.
aakanksha555 added a project: AMDGPU.
Herald added subscribers: t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, kzhuravl.

Modified the AMDGPUCodeGenPrepare compiler pass to check if all kernels have the uniform work group attribute. If they do, every call to __is_work_group_size_uniform() is replaced with with true otherwise with false.


https://reviews.llvm.org/D50200

Files:
  lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  test/CodeGen/AMDGPU/amdgpu-codegenprepare-uniform-work-group-size.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50200.158825.patch
Type: text/x-patch
Size: 3514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180802/d7684d27/attachment.bin>


More information about the llvm-commits mailing list