[PATCH] D123328: AMDGPU: Update reqd-work-group-size optimization for umin intrinsic

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 7 11:20:57 PDT 2022


arsenm created this revision.
arsenm added a reviewer: AMDGPU.
Herald added subscribers: hsmhsm, foad, jdoerfert, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

This code was pattern matching the ID computation expression as it
appears in the library. This was a compare and select, but now that
umin is canonical, we were no longer matching. Update to match the
intrinsic instead.


https://reviews.llvm.org/D123328

Files:
  llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
  llvm/test/CodeGen/AMDGPU/reqd-work-group-size.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123328.421294.patch
Type: text/x-patch
Size: 11673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220407/5ef46f15/attachment.bin>


More information about the llvm-commits mailing list