[llvm] [AMDGPU] Add Wave Reduce Intrinsics for i32 type (PR #111342)

Pravin Jagtap via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 07:20:48 PDT 2024


================
@@ -2119,8 +2119,14 @@ class AMDGPUWaveReduce<LLVMType data_ty = llvm_anyint_ty> : Intrinsic<
     ],
     [IntrNoMem, IntrConvergent, IntrWillReturn, IntrNoCallback, IntrNoFree, ImmArg<ArgIndex<1>>]>;
 
-def int_amdgcn_wave_reduce_umin : AMDGPUWaveReduce;
-def int_amdgcn_wave_reduce_umax : AMDGPUWaveReduce;
+multiclass AMDGPUWaveReduceGenerator<list<string> Operations> {
----------------
pravinjagtap wrote:

Rename Operations with `WaveReduceOps` ?

https://github.com/llvm/llvm-project/pull/111342


More information about the llvm-commits mailing list