[PATCH] D132511: [AMDGPU] Detect uniformness of TID / wavefrontsize

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 23 15:40:24 PDT 2022


rampitec created this revision.
rampitec added reviewers: bcahoon, alex-t, foad.
Herald added subscribers: kosarev, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
Herald added a project: All.
rampitec requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

A value of 'workitemid / wavefrontize' or 'workitemid & (wavefrontize - 1)'
is wave uniform.


https://reviews.llvm.org/D132511

Files:
  llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  llvm/test/CodeGen/AMDGPU/uniform-load-from-tid.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132511.454989.patch
Type: text/x-patch
Size: 4969 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220823/a4ba8c24/attachment.bin>


More information about the llvm-commits mailing list