[PATCH] D116284: [AMDGPU] Enable divergence-driven 'ctpop' selection

Alexander via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 26 04:30:55 PST 2021


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

This change adds the patterns and divergence predicates for the ctpop (bitcount) nodes
to make them selected according to the divergence.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116284

Files:
  llvm/lib/Target/AMDGPU/SIInstructions.td
  llvm/lib/Target/AMDGPU/SOPInstructions.td
  llvm/test/CodeGen/AMDGPU/divergence-driven-ctpop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116284.396215.patch
Type: text/x-patch
Size: 4684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211226/ab8b6be4/attachment.bin>


More information about the llvm-commits mailing list