[PATCH] D154858: [AMDGPU] Add llvm.amdgcn.wave.reduce.umin/umax Intrinsic.

Pravin Jagtap via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 20 23:36:43 PDT 2023


pravinjagtap updated this revision to Diff 542773.
pravinjagtap added a comment.

Addressed review commnets.

For now, for all the cases (default, Iterative and DPP) we use 
iterative approach by default. When DPP arrives, strategy
switch needs to be added to decide which implemenation to use.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154858/new/

https://reviews.llvm.org/D154858

Files:
  llvm/docs/AMDGPUUsage.rst
  llvm/include/llvm/IR/IntrinsicsAMDGPU.td
  llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/lib/Target/AMDGPU/SIInstructions.td
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.umax.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.reduce.umin.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wave.reduce.umax.mir
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wave.reduce.umin.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154858.542773.patch
Type: text/x-patch
Size: 113376 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230721/d0955e90/attachment-0001.bin>


More information about the llvm-commits mailing list