[PATCH] D115954: [AMDGPU] Re-enabling divergence predicates for min/max

Alexander via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 17 10:40:35 PST 2021


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

This patch enables divergence predicates for min/max nodes.

  It makes ISD::MIN/MAX selected to S_MIN_I(U)32/S_MAX_I(U)32 or V_MIN_I(U)32_e64/V_MAX_I(U)32_e64


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115954

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115954.395167.patch
Type: text/x-patch
Size: 3736 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211217/098821a0/attachment.bin>


More information about the llvm-commits mailing list